system/ksh-openbsd: Updated for version 20190127.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
LEVAI Daniel 2019-02-18 07:21:22 +07:00 committed by Willy Sudiarto Raharjo
parent cab373f3e7
commit 8c116ed337
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
3 changed files with 17 additions and 7 deletions

View File

@ -6,3 +6,6 @@ besides the Linux port bits).
See the Changelog.ksh-openbsd and the homepage for more information about the
changes: https://github.com/levaidaniel/ksh-openbsd
There's a build option (PDKSH_BINNAME) to change the binary and manual names
during build.

View File

@ -28,7 +28,7 @@
# Build script for the Linux port of OpenBSD's ksh
PRGNAM=ksh-openbsd
VERSION=${VERSION:-20180115}
VERSION=${VERSION:-20190127}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -79,9 +79,16 @@ CFLAGS="$SLKCFLAGS $(getconf LFS_CFLAGS)" make
make check
make install DESTDIR=$PKG
strip --strip-unneeded $PKG/bin/pdksh
gzip -9 $PKG/usr/man/man1/pdksh.1
gzip -9 $PKG/usr/man/man1/pdksh-sh.1
if [ -n "${PDKSH_BINNAME}" ];then
mv $PKG/bin/pdksh $PKG/bin/"${PDKSH_BINNAME}"
mv $PKG/usr/man/man1/pdksh.1 $PKG/usr/man/man1/"${PDKSH_BINNAME}".1
mv $PKG/usr/man/man1/pdksh-sh.1 $PKG/usr/man/man1/"${PDKSH_BINNAME}"-sh.1
fi
BINNAME=${PDKSH_BINNAME:-pdksh}
strip --strip-unneeded $PKG/bin/"${BINNAME}"
gzip -9 $PKG/usr/man/man1/"${BINNAME}".1
gzip -9 $PKG/usr/man/man1/"${BINNAME}"-sh.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \

View File

@ -1,8 +1,8 @@
PRGNAM="ksh-openbsd"
VERSION="20180115"
VERSION="20190127"
HOMEPAGE="https://github.com/levaidaniel/ksh-openbsd"
DOWNLOAD="https://github.com/levaidaniel/ksh-openbsd/archive/20180115.tar.gz"
MD5SUM="738aaeaed76fa05feaa8900040fd16b1"
DOWNLOAD="https://github.com/levaidaniel/ksh-openbsd/archive/20190127.tar.gz"
MD5SUM="a039295afd4e917c6a74901dacac6f28"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libbsd"