32 lines
899 B
Bash
32 lines
899 B
Bash
# Template file for 'loksh'
|
|
pkgname=loksh
|
|
version=7.3
|
|
revision=1
|
|
build_style=meson
|
|
hostmakedepends="pkg-config"
|
|
makedepends="ncurses-devel"
|
|
short_desc="Linux port of OpenBSD's ksh"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="custom:Public Domain"
|
|
homepage="https://github.com/dimkr/loksh"
|
|
distfiles="https://github.com/dimkr/loksh/releases/download/${version}/loksh-${version}.tar.xz"
|
|
checksum=e60bee39836432024569f44b499581ef8ebedbd8fe5b6172245e9a1af4304e9b
|
|
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/bin/ksh ${DESTDIR}/usr/bin/loksh
|
|
mv ${DESTDIR}/usr/share/man/man1/ksh.1 \
|
|
${DESTDIR}/usr/share/man/man1/loksh.1
|
|
mv ${DESTDIR}/usr/share/man/man1/sh.1 \
|
|
${DESTDIR}/usr/share/man/man1/loksh-sh.1
|
|
}
|