1 |
commit: 9a34646c3672e9b0c6d8e3e5ce0d14b95065b884 |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 11 16:30:29 2022 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 11 16:55:50 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a34646c |
7 |
|
8 |
x11-misc/bbdate: EAPI=8 bump |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
12 |
|
13 |
x11-misc/bbdate/bbdate-0.2.4-r3.ebuild | 38 ++++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 38 insertions(+) |
15 |
|
16 |
diff --git a/x11-misc/bbdate/bbdate-0.2.4-r3.ebuild b/x11-misc/bbdate/bbdate-0.2.4-r3.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000000..faa221d7365b |
19 |
--- /dev/null |
20 |
+++ b/x11-misc/bbdate/bbdate-0.2.4-r3.ebuild |
21 |
@@ -0,0 +1,38 @@ |
22 |
+# Copyright 1999-2022 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+inherit autotools |
27 |
+ |
28 |
+DESCRIPTION="blackbox date display" |
29 |
+HOMEPAGE="https://sourceforge.net/projects/bbtools" |
30 |
+SRC_URI="mirror://sourceforge/bbtools/${P}.tar.gz" |
31 |
+ |
32 |
+LICENSE="GPL-2" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
35 |
+IUSE="" |
36 |
+ |
37 |
+RDEPEND="x11-libs/libX11" |
38 |
+DEPEND="${RDEPEND}" |
39 |
+ |
40 |
+DOCS=( README AUTHORS BUGS ChangeLog TODO data/README.bbdate ) |
41 |
+PATCHES=( "${FILESDIR}"/${P}-as-needed.patch ) |
42 |
+ |
43 |
+src_prepare() { |
44 |
+ default |
45 |
+ mv configure.{in,ac} || die |
46 |
+ sed -i \ |
47 |
+ -e 's|-helvetica-|-*-|g' \ |
48 |
+ resource.cc data/${PN}.{nobb,style} || die |
49 |
+ eautoreconf |
50 |
+} |
51 |
+ |
52 |
+src_install() { |
53 |
+ default |
54 |
+ rm "${ED}"/usr/share/bbtools/README.bbdate || die |
55 |
+ # since multiple bbtools packages provide this file, install |
56 |
+ # it in /usr/share/doc/${PF} |
57 |
+ mv "${ED}"/usr/share/bbtools/bbtoolsrc.in \ |
58 |
+ "${ED}"/usr/share/doc/${PF}/bbtoolsrc.example || die |
59 |
+} |