diff options
Diffstat (limited to 'app-shells/loksh')
-rw-r--r-- | app-shells/loksh/Manifest | 2 | ||||
-rw-r--r-- | app-shells/loksh/loksh-6.7.1-r1.ebuild | 33 |
2 files changed, 35 insertions, 0 deletions
diff --git a/app-shells/loksh/Manifest b/app-shells/loksh/Manifest index 1f6c11bb0eb2..ad49d0869f46 100644 --- a/app-shells/loksh/Manifest +++ b/app-shells/loksh/Manifest @@ -1,3 +1,5 @@ DIST loksh-6.6.tar.gz 251931 BLAKE2B 8671b2a7b5f4d8247c8572a925a078a7bbf7e6f0ae11b9198798c66def35c5bdb5c3b39e5c37e0dcbc068a1757e6cdcb667088640c6c9a556c64a9a4c0582102 SHA512 7f5188b3f0af3167f1c5847043689a35f22d5075cee2ec4ce3ebd324a59233e89db1c864dc62a05ad036ddd541ee89c680fa82e22b85cd2c82ad32c5ebad51be +DIST loksh-6.7.1.tar.xz 209448 BLAKE2B 812ebeae15a6a5db12439d58a58a2d0c85b324db5b0918a55e76e125c02ee94a0a773fba49b183f7b2bf6af35b0be6e5c3b976cc2761651cbbdacf9f85e3fdf7 SHA512 c8ffe19e6bd1b1ae60432729a94539503961230fa9392dbcc79999f7b402c83a51ba644c8fc2706cff071195de641ec4e0e1b550d823cad949b37fbdf0ab572b EBUILD loksh-6.6.ebuild 655 BLAKE2B 43e662f026305b41e36c948185ddbc88e1a6c7bb0079ca88b275f61ec0cda330b0aae325b4456a1829e5018e49c208305c6b199999a588ebd09e4084736d6e1b SHA512 a4604492b6354377003a39839dc6dae4edce00c981201e6a95a0d3f0938e838a9059c25181a029b7b91b88ddeac0a6982f01bb2a550ee617c322ee8c5b2ababe +EBUILD loksh-6.7.1-r1.ebuild 641 BLAKE2B 56dbb90d38a9aefe788c4788926c6f47c1796b43364511cfd95fd57272c0bfd3027656992509336ce08766912e843c376bf76a6196e0c1177c0597c6b0bfdc46 SHA512 ef92665722e956b8d29c2294990593668117ba0bf18eea19cd3436974a40668eb04a44898b28ad6290fa024839f2137da5f74530adfcee0e777eaf2ca94e2d85 MISC metadata.xml 328 BLAKE2B 74e5126dbb36b09f5711c125eec5a9be8209f5f340e3e45f342dd274548ebea9ff3859b0452e999f06cececb81e6a75434ffb32e6bbdc414483d7460fd974831 SHA512 f7118cf845948d1bae282c8cecfe861802163b20ddc0ad1f7c427211dc0333471bf6e18fc807837359247fb021749c7b2b910b6233e55b389551e09429fc7b58 diff --git a/app-shells/loksh/loksh-6.7.1-r1.ebuild b/app-shells/loksh/loksh-6.7.1-r1.ebuild new file mode 100644 index 000000000000..ca44f5e3fd4f --- /dev/null +++ b/app-shells/loksh/loksh-6.7.1-r1.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 +} |