public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: app-misc/nonsense/, app-misc/nonsense/files/
@ 2021-06-30 12:30 Alessandro Barbieri
  0 siblings, 0 replies; only message in thread
From: Alessandro Barbieri @ 2021-06-30 12:30 UTC (permalink / raw
  To: gentoo-commits

commit:     7ebb36b5a2dccad1459432fb7635ce7a9905c800
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Jun 30 12:29:28 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Jun 30 12:30:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7ebb36b5

app-misc/nonsense: workaround with a wrapper

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 app-misc/nonsense/files/nonsense.sh      |  4 ++++
 app-misc/nonsense/nonsense-0.7-r1.ebuild | 24 ++++++++++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/app-misc/nonsense/files/nonsense.sh b/app-misc/nonsense/files/nonsense.sh
new file mode 100644
index 000000000..45707ce36
--- /dev/null
+++ b/app-misc/nonsense/files/nonsense.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /usr/share/nonsense
+exec perl /usr/share/nonsense/nonsense.pl "$@"

diff --git a/app-misc/nonsense/nonsense-0.7-r1.ebuild b/app-misc/nonsense/nonsense-0.7-r1.ebuild
new file mode 100644
index 000000000..829f3a0d3
--- /dev/null
+++ b/app-misc/nonsense/nonsense-0.7-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+COMMIT="766d34590e1fc0edddb381ad16fab57f5d20d299"
+
+DESCRIPTION="Generates random text from datafiles and templates"
+HOMEPAGE="
+	https://github.com/aduial/nonsense
+	https://nonsense.sourceforge.net
+"
+SRC_URI="https://github.com/aduial/nonsense/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_install() {
+	newbin "${FILESDIR}/nonsense.sh" nonsense
+	dodoc README.md CHANGELOG.md HOWTO.md
+	insinto /usr/share/nonsense
+	doins *.data *.html *.template nonsense.pl
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-30 12:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-30 12:30 [gentoo-commits] repo/proj/guru:dev commit in: app-misc/nonsense/, app-misc/nonsense/files/ Alessandro Barbieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox