summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <gentoo@aisha.cc>2020-10-23 09:34:13 -0400
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-10-23 10:48:25 -0700
commitd2c2689267235a687a766d45c779c36b1c22fd41 (patch)
tree640a36f3b9048cf3e634731d89f73ca03f849645 /app-shells/loksh
parentgames-simulation/simutrans: Delete old ebuild. (diff)
downloadgentoo-d2c2689267235a687a766d45c779c36b1c22fd41.tar.gz
gentoo-d2c2689267235a687a766d45c779c36b1c22fd41.tar.bz2
gentoo-d2c2689267235a687a766d45c779c36b1c22fd41.zip
app-shells/loksh: version bump to 6.8
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy <gentoo@aisha.cc> Closes: https://github.com/gentoo/gentoo/pull/18010 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-shells/loksh')
-rw-r--r--app-shells/loksh/Manifest1
-rw-r--r--app-shells/loksh/loksh-6.8.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/app-shells/loksh/Manifest b/app-shells/loksh/Manifest
index 0488e96ec109..1b38d6215308 100644
--- a/app-shells/loksh/Manifest
+++ b/app-shells/loksh/Manifest
@@ -1,3 +1,4 @@
DIST loksh-6.7.2.tar.xz 209520 BLAKE2B 37635721b4ed99b3a8ffd0bc6806e29e96c68618db32d8aad32e8cafb2c669ff44e0228588631478c189fb804a790245a66abe700bd78d06f3fdbd3baaa03778 SHA512 0008905c97c0d65ab246c05ddcd733925cdf2e35bc0eb09dd4301718236cab3f2682bee250e3630f3f9d801c1e20ee2db71194ac01f9ea4c2c8ff437328f5d08
DIST loksh-6.7.4.tar.xz 210008 BLAKE2B 80fd4ffa1a45f0c8775540832996278f41078850d6c9ccca8f2a1db5e2de0bb5663d11fa28c26e9b523fc6d9fbc9e1db7cfb93035ceef1bc2040e8f2083691da SHA512 d0c4aa3cb0b48d85c667a7d2e1a9c28c1533c43b3a8804806120f646a711499c96165e0e1ed7f285cd8da0d21e7ef80535b071066cc804c11cdf67e1a5e5918e
DIST loksh-6.7.5.tar.xz 209928 BLAKE2B 76f00cba08d425e7b0605a7a8b66f8ff6f7626a277bf5308877a8d61d6e65c2c7a68867beae8244aa42cf76e7f942dac46780432f76f63a6e007f3d772fbda78 SHA512 20f203afcc4b582e89c825852428a33f74232cb71708b7153b6f3a78d692766cfd67b8993c38e58a223b0e95caf2a487eea6bdda321ad056bf475b21d47f97f1
+DIST loksh-6.8.tar.xz 210440 BLAKE2B 438181e3fa5b95bc15d5cd2d5a42d09d595aefa45b8598532835f5df2464c40c6ebcab8febeee55f20272cbe3acc57f02d1408bf726cc9fc3435b7b35fae6e4a SHA512 bc862c4aa0796b0fde14c5c3067fc48c6325741bf7e62dcd99faa2ed0ddb80a8fcce79819ff599395f88ee8e5958ce4a451f777d0105fd8ea0ec513977d4e715
diff --git a/app-shells/loksh/loksh-6.8.ebuild b/app-shells/loksh/loksh-6.8.ebuild
new file mode 100644
index 000000000000..ca44f5e3fd4f
--- /dev/null
+++ b/app-shells/loksh/loksh-6.8.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson
+
+DESCRIPTION="Linux port of OpenBSD's ksh"
+HOMEPAGE="https://github.com/dimkr/loksh"
+SRC_URI="https://github.com/dimkr/${PN}/releases/download/${PV}/src.tar.xz -> ${P}.tar.xz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+DEPEND="sys-libs/ncurses:0="
+
+RDEPEND="
+ ${DEPEND}
+ !app-shells/ksh
+"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ default
+ sed -i "/install_dir/s@loksh@${PF}@" meson.build || die
+}
+
+src_configure() {
+ # we want it as /bin/ksh
+ meson_src_configure --bindir=../bin
+}