1 |
commit: 5ab58c3a7f79787f5652ee4cf23859654f46cb9e |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 28 11:02:21 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 30 19:42:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ab58c3a |
7 |
|
8 |
x11-misc/sxhkd: EAPI7->8 and tidy |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
.../{sxhkd-0.6.2.ebuild => sxhkd-0.6.2-r1.ebuild} | 19 ++++++++++++++----- |
13 |
1 file changed, 14 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/x11-misc/sxhkd/sxhkd-0.6.2.ebuild b/x11-misc/sxhkd/sxhkd-0.6.2-r1.ebuild |
16 |
similarity index 66% |
17 |
rename from x11-misc/sxhkd/sxhkd-0.6.2.ebuild |
18 |
rename to x11-misc/sxhkd/sxhkd-0.6.2-r1.ebuild |
19 |
index 62e4eb5b3616..bdc5518c83d9 100644 |
20 |
--- a/x11-misc/sxhkd/sxhkd-0.6.2.ebuild |
21 |
+++ b/x11-misc/sxhkd/sxhkd-0.6.2-r1.ebuild |
22 |
@@ -1,7 +1,8 @@ |
23 |
-# Copyright 1999-2021 Gentoo Authors |
24 |
+# Copyright 1999-2022 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI=7 |
28 |
+EAPI=8 |
29 |
+ |
30 |
inherit toolchain-funcs systemd |
31 |
|
32 |
DESCRIPTION="Simple X hotkey daemon" |
33 |
@@ -12,9 +13,11 @@ LICENSE="BSD-2" |
34 |
SLOT="0" |
35 |
KEYWORDS="amd64 ~riscv ~x86" |
36 |
|
37 |
-RDEPEND="x11-libs/libxcb |
38 |
+RDEPEND=" |
39 |
+ x11-libs/libxcb:= |
40 |
x11-libs/xcb-util-keysyms" |
41 |
-DEPEND="${RDEPEND} |
42 |
+DEPEND=" |
43 |
+ ${RDEPEND} |
44 |
x11-libs/xcb-util" |
45 |
|
46 |
src_compile() { |
47 |
@@ -22,6 +25,12 @@ src_compile() { |
48 |
} |
49 |
|
50 |
src_install() { |
51 |
- emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" DOCPREFIX="${EPREFIX}/usr/share/doc/${PF}" install |
52 |
+ local emakeargs=( |
53 |
+ DESTDIR="${D}" |
54 |
+ PREFIX="${EPREFIX}"/usr |
55 |
+ DOCPREFIX="${EPREFIX}"/usr/share/doc/${PF} |
56 |
+ ) |
57 |
+ emake "${emakeargs[@]}" install |
58 |
+ |
59 |
systemd_dounit contrib/systemd/${PN}.service |
60 |
} |