diff --git a/srcpkgs/oksh/template b/srcpkgs/oksh/template new file mode 100644 index 0000000000..a44f8eecf1 --- /dev/null +++ b/srcpkgs/oksh/template @@ -0,0 +1,22 @@ +# Template file for 'oksh' +pkgname=oksh +version=0.5.9 +revision=1 +build_style=gnu-configure +short_desc="OpenBSD's version of ksh ported to Linux" +maintainer="Diogo Leal " +license="GPL-3" +homepage="https://connochaetos.org/oksh/" +distfiles="http://www.connochaetos.org/oksh/oksh-${version}.tar.gz" +checksum=2323be6676c88bdc916dd206b9e9bd6c23bbada513edaf71dcfad97e8df3c952 +register_shell="/bin/oksh" + +alternatives=" + ksh:ksh:/usr/bin/oksh + ksh:ksh.1:/usr/share/man/man1/oksh.1 +" + +do_install() { + vbin ksh oksh + vman ksh.1 oksh.1 +}