Add dash-to-dock ebuild

master
srebrovvilen 2 years ago committed by GitHub
parent 11b124ca6b
commit 9e7a28cb19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
DIST gnome-shell-extension-dash-to-dock-72.tar.gz 309825 BLAKE2B be1fcfd11930125bda4befa9d2508c0773812aa5fdfafe4c67797ecbf8c6a95fc3173da21801c1804c0ab71da74e8249d937e072d15fe185d651ab0a634b2ba5 SHA512 a4d2017b9d28c46145cf9cde3e641a7188f0e9febd2a7089973cfacf5b4b5f6f2e402079785b47799e0766d931037bb078ddc37923ae2d4356f764b57f046d28
DIST gnome-shell-extension-dash-to-dock-75.tar.gz 317332 BLAKE2B 5c90fcd8c9b131be9a38eb11462bd201f9a33d06caff9acbc1418c6b2306c6882d5b3d9460239199cbfd7d7de3fc321daf7924c175867f0902ead2062eb88108 SHA512 9f877f06422ec1ff2fee13c4a49a543f19905038f76fd8ddd57b72d43052c3376b26f0205f5dda1e033c61900603d6424bc175eee4b8046f221026556303e46f

@ -0,0 +1,63 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome2-utils
MY_PN="${PN/gnome-shell-extension-/}"
MY_EXT="${PN/gnome-shell-extension-/}-extensions.gnome.org"
DESCRIPTION="A dock for the Gnome Shell"
HOMEPAGE="https://github.com/micheleg/dash-to-dock"
SRC_URI="https://github.com/micheleg/${MY_PN}/archive/extensions.gnome.org-v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
COMMON_DEPEND="
dev-libs/glib:2
dev-lang/sassc
"
RDEPEND="${COMMON_DEPEND}
app-eselect/eselect-gnome-shell-extensions
>=gnome-base/gnome-shell-40.0
"
DEPEND="${COMMON_DEPEND}"
BDEPEND=""
S="${WORKDIR}/${MY_EXT}-v${PV}"
extension_uuid="dash-to-dock@micxgx.gmail.com"
src_prepare() {
default
# Set correct version
export VERSION="${PV}"
# Don't install README and COPYING in unwanted locations
sed -i -e 's/COPYING//g' -e 's/README.md//g' Makefile || die
}
src_install() {
default
}
pkg_preinst() {
gnome2_schemas_savelist
}
pkg_postinst() {
gnome2_schemas_update
ebegin "Updating list of installed extensions"
eselect gnome-shell-extensions update
eend $?
}
pkg_postrm() {
gnome2_schemas_update
}
Loading…
Cancel
Save