1 |
commit: 7ebb36b5a2dccad1459432fb7635ce7a9905c800 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jun 30 12:29:28 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Jun 30 12:30:15 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7ebb36b5 |
7 |
|
8 |
app-misc/nonsense: workaround with a wrapper |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
12 |
|
13 |
app-misc/nonsense/files/nonsense.sh | 4 ++++ |
14 |
app-misc/nonsense/nonsense-0.7-r1.ebuild | 24 ++++++++++++++++++++++++ |
15 |
2 files changed, 28 insertions(+) |
16 |
|
17 |
diff --git a/app-misc/nonsense/files/nonsense.sh b/app-misc/nonsense/files/nonsense.sh |
18 |
new file mode 100644 |
19 |
index 000000000..45707ce36 |
20 |
--- /dev/null |
21 |
+++ b/app-misc/nonsense/files/nonsense.sh |
22 |
@@ -0,0 +1,4 @@ |
23 |
+#!/bin/sh |
24 |
+ |
25 |
+cd /usr/share/nonsense |
26 |
+exec perl /usr/share/nonsense/nonsense.pl "$@" |
27 |
|
28 |
diff --git a/app-misc/nonsense/nonsense-0.7-r1.ebuild b/app-misc/nonsense/nonsense-0.7-r1.ebuild |
29 |
new file mode 100644 |
30 |
index 000000000..829f3a0d3 |
31 |
--- /dev/null |
32 |
+++ b/app-misc/nonsense/nonsense-0.7-r1.ebuild |
33 |
@@ -0,0 +1,24 @@ |
34 |
+# Copyright 1999-2021 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=8 |
38 |
+ |
39 |
+COMMIT="766d34590e1fc0edddb381ad16fab57f5d20d299" |
40 |
+ |
41 |
+DESCRIPTION="Generates random text from datafiles and templates" |
42 |
+HOMEPAGE=" |
43 |
+ https://github.com/aduial/nonsense |
44 |
+ https://nonsense.sourceforge.net |
45 |
+" |
46 |
+SRC_URI="https://github.com/aduial/nonsense/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
47 |
+S="${WORKDIR}/${PN}-${COMMIT}" |
48 |
+LICENSE="GPL-3" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64" |
51 |
+ |
52 |
+src_install() { |
53 |
+ newbin "${FILESDIR}/nonsense.sh" nonsense |
54 |
+ dodoc README.md CHANGELOG.md HOWTO.md |
55 |
+ insinto /usr/share/nonsense |
56 |
+ doins *.data *.html *.template nonsense.pl |
57 |
+} |