1 |
commit: cf5fcb29eee560e862a2597d06f419210eda0179 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Jul 24 18:09:52 2018 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 2 20:21:31 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf5fcb29 |
7 |
|
8 |
x11-plugins/wmtime: EAPI7, improve ebuild |
9 |
|
10 |
x11-plugins/wmtime/wmtime-1.4-r1.ebuild | 33 +++++++++++++++++++++++++++++++++ |
11 |
1 file changed, 33 insertions(+) |
12 |
|
13 |
diff --git a/x11-plugins/wmtime/wmtime-1.4-r1.ebuild b/x11-plugins/wmtime/wmtime-1.4-r1.ebuild |
14 |
new file mode 100644 |
15 |
index 00000000000..4ea44b15579 |
16 |
--- /dev/null |
17 |
+++ b/x11-plugins/wmtime/wmtime-1.4-r1.ebuild |
18 |
@@ -0,0 +1,33 @@ |
19 |
+# Copyright 1999-2018 Gentoo Foundation |
20 |
+# Distributed under the terms of the GNU General Public License v2 |
21 |
+ |
22 |
+EAPI=7 |
23 |
+inherit toolchain-funcs |
24 |
+ |
25 |
+DESCRIPTION="applet which displays the date and time in a dockable tile" |
26 |
+HOMEPAGE="https://www.dockapps.net/wmtime" |
27 |
+SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" |
28 |
+ |
29 |
+LICENSE="GPL-2" |
30 |
+SLOT="0" |
31 |
+KEYWORDS="~amd64 ~x86" |
32 |
+ |
33 |
+RDEPEND=">=x11-libs/libdockapp-0.7:= |
34 |
+ x11-libs/libX11 |
35 |
+ x11-libs/libXext |
36 |
+ x11-libs/libXau |
37 |
+ x11-libs/libXdmcp |
38 |
+ x11-libs/libXpm" |
39 |
+DEPEND="${RDEPEND} |
40 |
+ x11-base/xorg-proto" |
41 |
+ |
42 |
+DOCS=( BUGS CHANGES HINTS README TODO ) |
43 |
+ |
44 |
+src_compile() { |
45 |
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" |
46 |
+} |
47 |
+ |
48 |
+src_install () { |
49 |
+ emake DESTDIR="${D}" PREFIX=/usr install |
50 |
+ einstalldocs |
51 |
+} |