31 lines
823 B
Bash
31 lines
823 B
Bash
# Template file for 'loksh'
|
|
pkgname=loksh
|
|
version=6.6
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_build_args="HAVE_LIBBSD=1"
|
|
make_install_args="BIN_NAME=loksh"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libbsd-devel ncurses-devel"
|
|
short_desc="Linux port of OpenBSD's ksh"
|
|
maintainer="Renato Aguiar <renato@renag.me>"
|
|
license="custom:Public Domain"
|
|
homepage="https://github.com/dimkr/loksh"
|
|
distfiles="https://github.com/dimkr/loksh/archive/${version}.tar.gz"
|
|
checksum=97a020df82ceebe216c5a306e87360c5e3398d7403347aaff50978446ccb764d
|
|
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
|
|
}
|