commit:     1a19c391fb35afa1b21fa8ebe2f0c024c8e977df
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 10 12:30:58 2019 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Nov 10 12:35:53 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a19c391

gnome-extra/gnome-shell-extension-dash-to-panel: Version bump to v25

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 .../gnome-shell-extension-dash-to-panel/Manifest   |  1 +
 .../gnome-shell-extension-dash-to-panel-25.ebuild  | 54 ++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest 
b/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest
index 1f7a865dc22..95155856a37 100644
--- a/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest
+++ b/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest
@@ -1 +1,2 @@
 DIST gnome-shell-extension-dash-to-panel-23.tar.gz 21075058 BLAKE2B 
66a48a2ca1379fb423fbd55e68b13dc8e649aceb89676d80893b56e6bda860937946bc981bca110634c975c8712378e5dbdc67f5749a4f5aa70622b75304b71b
 SHA512 
0f8ea1b5b92213046195e88cd6433f15cf05d73712c88def4ffcfe43e75e8fad11df5a25a2b4e2ace9ac0e4b56c151e20931cfa233c39589ee33d1fec1a8499a
+DIST gnome-shell-extension-dash-to-panel-25.tar.gz 21097782 BLAKE2B 
25061645ecfe073b3891a974c765a98df295daa01a82cac53318b505bea99296ceddac91898fdae7fe1e01f8042d665f39d5c600544fcc69b9911a7078ed3de6
 SHA512 
7675fa8f1d73981fcb1e7347d0664851bf7ebb0b467093b1a166470b91890623ae617ba6399e8f367c56e84d293625cf75aca2b8f17ac21fbd96243a22e216c7

diff --git 
a/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-25.ebuild
 
b/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-25.ebuild
new file mode 100644
index 00000000000..853e1e9bd64
--- /dev/null
+++ 
b/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-25.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit gnome2-utils
+
+MY_PN="${PN/gnome-shell-extension-/}"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="An icon taskbar for the Gnome Shell"
+HOMEPAGE="https://github.com/home-sweet-gnome/dash-to-panel";
+SRC_URI="https://github.com/home-sweet-gnome/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="dev-libs/glib:2"
+RDEPEND="${COMMON_DEPEND}
+       app-eselect/eselect-gnome-shell-extensions
+       >=gnome-base/gnome-shell-3.18.0
+"
+DEPEND="${COMMON_DEPEND}"
+BDEPEND="
+       dev-util/intltool
+       sys-devel/gettext
+"
+
+S="${WORKDIR}/${MY_P}"
+
+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
+}
+
+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
+}

Reply via email to