dbeaver-bin-24.2.2 added

This commit is contained in:
Шашкин Николай 2024-10-08 21:10:51 +03:00
parent 69cb8d4fdc
commit 1911c29c5d
2 changed files with 41 additions and 1 deletions

View File

@ -1 +1,2 @@
DIST dbeaver-bin-23.2.5-amd64.tar.gz 87317961 BLAKE2B 63b4d7c57333f1df1db4ada5159728db59c274fda75961a7c1dd0252ec2dabe9a146ed21d5b1cf92843b6407c59ff4b2bc411dddf897c6ffdb46e2a08bcb8102 SHA512 7c5f52a175028bbd5fe2a967e87f4a9598641c18f0195389011ada2776dba42ebebbb8aad6a05f397507aaa124de459f172eedec0c07ed9b6ac318bf65b8effc DIST dbeaver-bin-23.2.5-amd64.tar.gz 87317961 SHA256 7bd9f276461a850bde2e74dcb73cbe65702944d1c932ce2b8ece031ae71837df SHA512 7c5f52a175028bbd5fe2a967e87f4a9598641c18f0195389011ada2776dba42ebebbb8aad6a05f397507aaa124de459f172eedec0c07ed9b6ac318bf65b8effc WHIRLPOOL bc20d7e76da8d94a38e58666937df540e6e985b80cb35489580162369c7be2c139a4653186b5d71e6dc783aed0c3b097908cb103082438217a8c906319f84492
DIST dbeaver-bin-24.2.2-amd64.tar.gz 88746937 SHA256 2e0bbd0089b3c7409671f0478dc20ac123c0b5e5c88fc9b48e7c693b9d1daf84 SHA512 8346e4a125bc825d8ab49b0ac12aa3ec9b845be4db460bb6ce976080ad23b55c800c402869286698498094b1ecf340fa18a16f1e7d24d557d8b972cabb98fe8d WHIRLPOOL d2372769f0a16347e41819aeabe49779f26c581007bfe1faa46ae28d48ba8f9fa339ecf9ea84b57056fc5bc1f9570322dedcfe8c3f05919e8f246b6e1241fadc

View File

@ -0,0 +1,39 @@
# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop wrapper xdg
DESCRIPTION="Free universal database tool (community edition)."
HOMEPAGE="https://dbeaver.io/"
MY_PN="${PN%-bin*}"
SRC_URI="https://dbeaver.io/files/${PV}/${MY_PN}-ce-${PV}-linux.gtk.x86_64-nojdk.tar.gz -> ${P}-amd64.tar.gz"
S="${WORKDIR}/${MY_PN}"
LICENSE="Apache-2.0 EPL-1.0 BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=">=virtual/jdk-17"
DEPEND="${RDEPEND}"
src_prepare() {
sed -e "s/^Icon=.*/Icon=${MY_PN}/" \
-e 's:/usr/share/dbeaver:/opt/dbeaver:g' \
-e '/^WMCLASS.*/d' \
-e "s:^Exec=.*:Exec=${EPREFIX}/usr/bin/${MY_PN}:" \
-i "${MY_PN}-ce.desktop" || die
default
}
src_install() {
doicon -s 128 "${MY_PN}.png"
newicon icon.xpm "${MY_PN}.xpm"
domenu "${MY_PN}-ce.desktop"
einstalldocs
rm "${MY_PN}-ce.desktop" "${MY_PN}.png" icon.xpm readme.txt || die
insinto "/opt/${MY_PN}-ce"
doins -r *
fperms 0755 "/opt/${MY_PN}-ce/${MY_PN}"
make_wrapper "${MY_PN}" "/opt/${MY_PN}-ce/${MY_PN}" "/opt/${MY_PN}-ce"
}