1 |
commit: bcbccb297028d66eafc39a8bb6c0f9e1d6931083 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 2 15:52:36 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 2 15:56:32 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcbccb29 |
7 |
|
8 |
x11-misc/wbarconf: Fix docdir |
9 |
|
10 |
Package-Manager: Portage-2.3.87, Repoman-2.3.20 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
x11-misc/wbarconf/wbarconf-0.7.2.2-r3.ebuild | 40 ++++++++++++++++++++++++++++ |
14 |
1 file changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/x11-misc/wbarconf/wbarconf-0.7.2.2-r3.ebuild b/x11-misc/wbarconf/wbarconf-0.7.2.2-r3.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..2c5f19167c2 |
19 |
--- /dev/null |
20 |
+++ b/x11-misc/wbarconf/wbarconf-0.7.2.2-r3.ebuild |
21 |
@@ -0,0 +1,40 @@ |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+PYTHON_COMPAT=( python2_7 ) |
27 |
+inherit python-single-r1 |
28 |
+ |
29 |
+DESCRIPTION="Configuration GUI for x11-misc/wbar" |
30 |
+HOMEPAGE="http://koti.kapsi.fi/ighea/wbarconf/" |
31 |
+SRC_URI="http://koti.kapsi.fi/ighea/${PN}/${P}.tar.gz" |
32 |
+ |
33 |
+LICENSE="GPL-3" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64 ~x86" |
36 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
37 |
+ |
38 |
+DEPEND=" |
39 |
+ sys-devel/gettext |
40 |
+" |
41 |
+RDEPEND=" |
42 |
+ ${PYTHON_DEPS} |
43 |
+ >=x11-misc/wbar-1.3.3 |
44 |
+ dev-python/pygobject:2[${PYTHON_USEDEP}] |
45 |
+ dev-python/pygtk:2[${PYTHON_USEDEP}] |
46 |
+" |
47 |
+PATCHES=( |
48 |
+ "${FILESDIR}"/${P}-install.patch |
49 |
+) |
50 |
+S="${WORKDIR}/${PN}" |
51 |
+ |
52 |
+src_compile() { |
53 |
+ python_fix_shebang wbarconf |
54 |
+} |
55 |
+ |
56 |
+src_install() { |
57 |
+ ./install.sh "${ED%/}/usr" || die "./install.sh failed" |
58 |
+ if [[ "${P}" != "${PF}" ]]; then |
59 |
+ mv "${ED}"/usr/share/doc/{${P},${PF}} || die |
60 |
+ fi |
61 |
+} |