void-packages/srcpkgs/loksh/template

31 lines
804 B
Bash
Raw Normal View History

2017-12-01 01:02:10 +00:00
# Template file for 'loksh'
pkgname=loksh
2017-12-07 09:52:14 +00:00
version=6.2
revision=1
2017-12-01 01:02:10 +00:00
build_style=gnu-makefile
make_build_args="HAVE_LIBBSD=1"
2017-12-01 01:02:10 +00:00
make_install_args="BIN_NAME=loksh"
hostmakedepends="pkg-config"
makedepends="libbsd-devel"
short_desc="A Linux port of OpenBSD's ksh"
maintainer="Renato Aguiar <renato@renag.me>"
license="Public Domain"
homepage="https://github.com/dimkr/loksh"
distfiles="https://github.com/dimkr/loksh/archive/${version}.tar.gz"
2017-12-07 10:14:50 +00:00
checksum=a361943ddce0c10b6d6f3bbada0f1a8aa813374bcb91bb7c78f2f173fceaaf9a
2017-12-01 01:02:10 +00:00
register_shell="/bin/loksh"
alternatives="
ksh:ksh:/usr/bin/loksh
ksh:ksh.1:/usr/share/man/man1/loksh.1
sh:sh:/usr/bin/loksh
sh:sh.1:/usr/share/man/man1/loksh-sh.1
"
post_install() {
vlicense LEGAL
mv ${DESTDIR}/usr/share/man/man1/sh.1 \
${DESTDIR}/usr/share/man/man1/loksh-sh.1
}