mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
app-misc/nonsense: workaround with a wrapper
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
4
app-misc/nonsense/files/nonsense.sh
Normal file
4
app-misc/nonsense/files/nonsense.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd /usr/share/nonsense
|
||||
exec perl /usr/share/nonsense/nonsense.pl "$@"
|
||||
24
app-misc/nonsense/nonsense-0.7-r1.ebuild
Normal file
24
app-misc/nonsense/nonsense-0.7-r1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user