summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2023-09-17 12:00:06 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-09-17 17:50:17 +0300
commitbc6dff3c060b307b508742c68cacde90e77ac5b3 (patch)
treeacd4d053a6d5cf4c591d139b42c0d6c5cd8626f2 /dev-util
parentdev-java/jna: drop 5.11.0-r1 (diff)
downloadgentoo-bc6dff3c060b307b508742c68cacde90e77ac5b3.tar.gz
gentoo-bc6dff3c060b307b508742c68cacde90e77ac5b3.tar.bz2
gentoo-bc6dff3c060b307b508742c68cacde90e77ac5b3.zip
dev-util/shtool: EAPI8 bump, fixes #880289, #724276
Closes: https://bugs.gentoo.org/880289 Closes: https://bugs.gentoo.org/724276 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/32876 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/shtool/shtool-2.0.8-r2.ebuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-util/shtool/shtool-2.0.8-r2.ebuild b/dev-util/shtool/shtool-2.0.8-r2.ebuild
new file mode 100644
index 000000000000..d80eeac9c3a9
--- /dev/null
+++ b/dev-util/shtool/shtool-2.0.8-r2.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Set of stable and portable shell scripts"
+HOMEPAGE="https://www.gnu.org/software/shtool/shtool.html"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~s390 ~sparc ~x86"
+
+DEPEND="dev-lang/perl"
+DOCS=( AUTHORS ChangeLog README THANKS VERSION NEWS RATIONAL )
+
+src_prepare() {
+ default
+ sed -i "s|opt_C=\"ar\"|opt_C=\"$(tc-getAR)\"|g" sh.arx || die
+}