aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/dbeaver-bin/dbeaver-bin-23.0.0.ebuild')
-rw-r--r--dev-db/dbeaver-bin/dbeaver-bin-23.0.0.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/dev-db/dbeaver-bin/dbeaver-bin-23.0.0.ebuild b/dev-db/dbeaver-bin/dbeaver-bin-23.0.0.ebuild
index b3f6ff6fe..9a6653bcc 100644
--- a/dev-db/dbeaver-bin/dbeaver-bin-23.0.0.ebuild
+++ b/dev-db/dbeaver-bin/dbeaver-bin-23.0.0.ebuild
@@ -4,11 +4,14 @@
EAPI=7
inherit desktop wrapper xdg
+MY_PN="${PN%-bin*}"
+
DESCRIPTION="Free universal database tool (community edition)."
HOMEPAGE="https://dbeaver.io/"
-MY_PN="${PN%-bin*}-ce"
-SRC_URI="amd64? ( https://dbeaver.io/files/${PV}/${MY_PN}-${PV}-linux.gtk.x86_64-nojdk.tar.gz -> ${P}-amd64.tar.gz )
- arm64? ( https://dbeaver.io/files/${PV}/${MY_PN}-${PV}-linux.gtk.aarch64-nojdk.tar.gz -> ${P}-arm64.tar.gz )"
+SRC_URI="amd64? ( https://dbeaver.io/files/${PV}/${MY_PN}-ce-${PV}-linux.gtk.x86_64-nojdk.tar.gz -> ${P}-amd64.tar.gz )
+ arm64? ( https://dbeaver.io/files/${PV}/${MY_PN}-ce-${PV}-linux.gtk.aarch64-nojdk.tar.gz -> ${P}-arm64.tar.gz )"
+
+S="${WORKDIR}/${MY_PN}"
LICENSE="Apache-2.0 EPL-1.0 BSD"
SLOT="0"
@@ -17,9 +20,6 @@ KEYWORDS="~amd64 ~arm64"
RDEPEND="virtual/jre:17"
DEPEND="${RDEPEND}"
-MY_PN="${PN%-bin*}"
-S="${WORKDIR}/${MY_PN}"
-
src_prepare() {
sed -e "s/^Icon=.*/Icon=${MY_PN}/" \
-e 's:/usr/share/dbeaver:/opt/dbeaver:g' \