1 |
commit: ff422345e2a4aa8b391ab696e646cbbe96fbb3a6 |
2 |
Author: Harri Nieminen <moikkis <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Feb 13 10:12:50 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 13 13:00:41 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff422345 |
7 |
|
8 |
x11-misc/sselp: EAPI bump 0 -> 6 and update live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/3944 |
12 |
|
13 |
x11-misc/sselp/{sselp-9999.ebuild => sselp-0.2-r1.ebuild} | 15 ++++++++------- |
14 |
x11-misc/sselp/sselp-9999.ebuild | 11 ++++++----- |
15 |
2 files changed, 14 insertions(+), 12 deletions(-) |
16 |
|
17 |
diff --git a/x11-misc/sselp/sselp-9999.ebuild b/x11-misc/sselp/sselp-0.2-r1.ebuild |
18 |
similarity index 66% |
19 |
copy from x11-misc/sselp/sselp-9999.ebuild |
20 |
copy to x11-misc/sselp/sselp-0.2-r1.ebuild |
21 |
index 079c5a98ff..0a23f98555 100644 |
22 |
--- a/x11-misc/sselp/sselp-9999.ebuild |
23 |
+++ b/x11-misc/sselp/sselp-0.2-r1.ebuild |
24 |
@@ -1,22 +1,23 @@ |
25 |
-# Copyright 1999-2013 Gentoo Foundation |
26 |
+# Copyright 1999-2017 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
# $Id$ |
29 |
|
30 |
-EAPI=5 |
31 |
-inherit git-2 toolchain-funcs |
32 |
+EAPI=6 |
33 |
+inherit toolchain-funcs |
34 |
|
35 |
DESCRIPTION="Simple X selection printer" |
36 |
HOMEPAGE="http://tools.suckless.org/x/sselp" |
37 |
-EGIT_REPO_URI="git://git.suckless.org/sselp" |
38 |
+SRC_URI="http://dl.suckless.org/tools/${P}.tar.gz" |
39 |
|
40 |
LICENSE="MIT" |
41 |
SLOT="0" |
42 |
-KEYWORDS="" |
43 |
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" |
44 |
|
45 |
DEPEND="x11-libs/libX11" |
46 |
RDEPEND="${DEPEND}" |
47 |
|
48 |
src_prepare() { |
49 |
+ default |
50 |
sed -i \ |
51 |
-e "s|^CFLAGS = -std=c99 -pedantic -Wall -Os|CFLAGS += -std=c99 -pedantic -Wall|" \ |
52 |
-e "s|^LDFLAGS = -s|LDFLAGS +=|" \ |
53 |
@@ -25,6 +26,6 @@ src_prepare() { |
54 |
} |
55 |
|
56 |
src_install() { |
57 |
- emake DESTDIR="${D}" PREFIX="/usr" install |
58 |
- dodoc README |
59 |
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install |
60 |
+ einstalldocs |
61 |
} |
62 |
|
63 |
diff --git a/x11-misc/sselp/sselp-9999.ebuild b/x11-misc/sselp/sselp-9999.ebuild |
64 |
index 079c5a98ff..65a33750b8 100644 |
65 |
--- a/x11-misc/sselp/sselp-9999.ebuild |
66 |
+++ b/x11-misc/sselp/sselp-9999.ebuild |
67 |
@@ -1,9 +1,9 @@ |
68 |
-# Copyright 1999-2013 Gentoo Foundation |
69 |
+# Copyright 1999-2017 Gentoo Foundation |
70 |
# Distributed under the terms of the GNU General Public License v2 |
71 |
# $Id$ |
72 |
|
73 |
-EAPI=5 |
74 |
-inherit git-2 toolchain-funcs |
75 |
+EAPI=6 |
76 |
+inherit git-r3 toolchain-funcs |
77 |
|
78 |
DESCRIPTION="Simple X selection printer" |
79 |
HOMEPAGE="http://tools.suckless.org/x/sselp" |
80 |
@@ -17,6 +17,7 @@ DEPEND="x11-libs/libX11" |
81 |
RDEPEND="${DEPEND}" |
82 |
|
83 |
src_prepare() { |
84 |
+ default |
85 |
sed -i \ |
86 |
-e "s|^CFLAGS = -std=c99 -pedantic -Wall -Os|CFLAGS += -std=c99 -pedantic -Wall|" \ |
87 |
-e "s|^LDFLAGS = -s|LDFLAGS +=|" \ |
88 |
@@ -25,6 +26,6 @@ src_prepare() { |
89 |
} |
90 |
|
91 |
src_install() { |
92 |
- emake DESTDIR="${D}" PREFIX="/usr" install |
93 |
- dodoc README |
94 |
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install |
95 |
+ einstalldocs |
96 |
} |