New package: oksh-6.7

This commit is contained in:
Leah Neukirchen 2020-05-20 17:41:18 +02:00
parent 05654fc95d
commit da9a4f4c45
2 changed files with 31 additions and 0 deletions

View file

@ -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."

20
srcpkgs/oksh/template Normal file
View file

@ -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 <leah@vuxu.org>"
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
"