summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-05-22 22:13:43 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-05-22 22:14:15 -0700
commit2fa864d2d85f029b8ed2d23414165e01dab531a8 (patch)
treee30cdea2b7527c2d5f9584f44bc4343ab5141697 /app-shells/loksh
parentdev-util/kbuild: fix pkg-config handling (diff)
downloadgentoo-2fa864d2d85f029b8ed2d23414165e01dab531a8.tar.gz
gentoo-2fa864d2d85f029b8ed2d23414165e01dab531a8.tar.bz2
gentoo-2fa864d2d85f029b8ed2d23414165e01dab531a8.zip
app-shells/loksh: bump to 6.7
upstream switched to meson Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-shells/loksh')
-rw-r--r--app-shells/loksh/Manifest2
-rw-r--r--app-shells/loksh/loksh-6.7.ebuild30
2 files changed, 32 insertions, 0 deletions
diff --git a/app-shells/loksh/Manifest b/app-shells/loksh/Manifest
index 5aec28d32822..db8eb720939d 100644
--- a/app-shells/loksh/Manifest
+++ b/app-shells/loksh/Manifest
@@ -1 +1,3 @@
DIST loksh-6.6.tar.gz 251931 BLAKE2B 8671b2a7b5f4d8247c8572a925a078a7bbf7e6f0ae11b9198798c66def35c5bdb5c3b39e5c37e0dcbc068a1757e6cdcb667088640c6c9a556c64a9a4c0582102 SHA512 7f5188b3f0af3167f1c5847043689a35f22d5075cee2ec4ce3ebd324a59233e89db1c864dc62a05ad036ddd541ee89c680fa82e22b85cd2c82ad32c5ebad51be
+DIST loksh-6.7.tar.gz 240036 BLAKE2B 6bbfb4784287405bbc06be36d2c0d8a46d68968be751cf29207089d1fffe444f4fd3deb7be381cce7f5a9e97666b9e62de0d28bc82807d700a351adb51e2294d SHA512 b2f7976697dd3c672c0540e21a1e3a541c7809f397fd539ed4eafc3314987cfec985076bcd9f49f5eed9148eecdb66337fc82233204062ae5c760a84beb79c53
+DIST lolibc-6.7.tar.gz 18265 BLAKE2B 7a7bbbb91924ad2e0a9a617c3ada6a075262c006f492276b1f9a4d2e82e2987344d9bd64bb4e018543dac154a1349dd9db16a1f0c76f66f63e1ce7d7cae49631 SHA512 f9e6d0ef88c44ed093fa7e9389f7995314d2c5583c27f68cf896c2feb7fb5b048764c8498c535a370e9d075c847345e8e3b883ce14b96897228d4957c95d37b8
diff --git a/app-shells/loksh/loksh-6.7.ebuild b/app-shells/loksh/loksh-6.7.ebuild
new file mode 100644
index 000000000000..bf63f3ecf32b
--- /dev/null
+++ b/app-shells/loksh/loksh-6.7.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson
+
+# https://github.com/dimkr/loksh/issues/16
+LOLIBC_COMMIT="f6bbd5bae97e58d0be6ea9fbbe5131853d5b0b70"
+
+DESCRIPTION="Linux port of OpenBSD's ksh"
+HOMEPAGE="https://github.com/dimkr/loksh"
+SRC_URI="https://github.com/dimkr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/dimkr/lolibc/archive/${LOLIBC_COMMIT}.tar.gz -> lolibc-${PV}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+DEPEND="sys-libs/ncurses:0="
+BDEPEND="virtual/pkgconfig"
+RDEPEND="${DEPEND}
+ !app-shells/ksh"
+
+src_prepare() {
+ default
+ rmdir "${S}/subprojects/lolibc" || die
+ mv -v "${WORKDIR}/lolibc-${LOLIBC_COMMIT}" "${S}/subprojects/lolibc" || die
+ sed -i "/install_dir/s@loksh@${PF}@" meson.build || die
+}