From da9a4f4c450f40364e2de2be07080f82189e1101 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Wed, 20 May 2020 17:41:18 +0200 Subject: [PATCH] New package: oksh-6.7 --- srcpkgs/oksh/patches/cross.patch | 11 +++++++++++ srcpkgs/oksh/template | 20 ++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 srcpkgs/oksh/patches/cross.patch create mode 100644 srcpkgs/oksh/template diff --git a/srcpkgs/oksh/patches/cross.patch b/srcpkgs/oksh/patches/cross.patch new file mode 100644 index 00000000000..0382ba8d35a --- /dev/null +++ b/srcpkgs/oksh/patches/cross.patch @@ -0,0 +1,11 @@ +--- configure.orig ++++ configure +@@ -582,7 +582,7 @@ + fi + + printf "checking for C compiler... " +-cccheck ++cc=$CC + if [ $? -ne 0 ] ; then + echo "not found" + echo "Please install a C compiler and re-run configure." diff --git a/srcpkgs/oksh/template b/srcpkgs/oksh/template new file mode 100644 index 00000000000..9bb748c0c10 --- /dev/null +++ b/srcpkgs/oksh/template @@ -0,0 +1,20 @@ +# Template file for 'oksh' +pkgname=oksh +version=6.7 +revision=1 +build_style=gnu-configure +makedepends="ncurses-devel" +short_desc="Portable OpenBSD ksh, based on the Public Domain Korn Shell" +maintainer="Leah Neukirchen " +license="Public Domain" +homepage="https://github.com/ibara/oksh" +distfiles="https://github.com/ibara/oksh/releases/download/oksh-${version}/oksh-${version}.tar.gz" +checksum=bb3e9288dbd8915b9e175727cdb3898970e6c6fece61e6867102b399e215fb04 +register_shell="/bin/oksh" + +alternatives=" + ksh:ksh:/usr/bin/oksh + ksh:ksh.1:/usr/share/man/man1/oksh.1 + sh:sh:/usr/bin/oksh + sh:sh.1:/usr/share/man/man1/oksh.1 +"