ksh: update to 2018.01.19.

This commit is contained in:
Leah Neukirchen 2018-01-20 23:17:30 +01:00
parent c6ac204513
commit 021a543e0a
1 changed files with 6 additions and 3 deletions

View File

@ -1,8 +1,8 @@
# Template file for 'ksh'
pkgname=ksh
version=2017.12.31
version=2018.01.19
revision=1
_githash=efca325a73ddedf44848e91b11147bc97fd13638
_githash=0280d4fdadd3ad690c7b69b795a2f0621b29c445
wrksrc="ast-${_githash}"
build_style=meson
register_shell="/bin/ksh"
@ -11,7 +11,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="EPL-1.0"
homepage="http://www.kornshell.com/"
distfiles="https://github.com/att/ast/archive/${_githash}.tar.gz"
checksum=47041e693b0a716fa08cb887463b4bae11db529890a82e437dc03326bf952b4d
checksum=5088ec1a726180e28ffbce5a6c31489100c37d913fd381e534db2607117fc3f7
nocross=yes
alternatives="
@ -29,6 +29,9 @@ post_extract() {
-e 's/install: true/install: false/' src/lib/*/meson.build
}
post_install() {
mv ${DESTDIR}/usr/bin/ksh ${DESTDIR}/usr/bin/ksh93
gunzip ${DESTDIR}/usr/share/man/man*/*.gz
mv ${DESTDIR}/usr/share/man/man1/ksh.1 ${DESTDIR}/usr/share/man/man1/ksh93.1
vmkdir usr/share/ksh
vcopy src/cmd/ksh93/fun usr/share/ksh/functions
vlicense ${FILESDIR}/LICENSE