aboutsummaryrefslogtreecommitdiff
path: root/system/ksh-openbsd
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2017-10-17 11:57:38 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-10-21 07:08:29 +0700
commit1f088ceb2bc452922bcd4272c55eb46a8cfa871a (patch)
tree8e619f20b5cb6ad32310b7e26f7be4991151e160 /system/ksh-openbsd
parent2cd272ffb037b2bf244c37b5c1cb1e3a5af76888 (diff)
system/ksh-openbsd: Updated for version 20171016.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/ksh-openbsd')
-rw-r--r--system/ksh-openbsd/ksh-openbsd.SlackBuild13
-rw-r--r--system/ksh-openbsd/ksh-openbsd.info6
2 files changed, 10 insertions, 9 deletions
diff --git a/system/ksh-openbsd/ksh-openbsd.SlackBuild b/system/ksh-openbsd/ksh-openbsd.SlackBuild
index 3f5efc18a882..e18bf48ff331 100644
--- a/system/ksh-openbsd/ksh-openbsd.SlackBuild
+++ b/system/ksh-openbsd/ksh-openbsd.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (c) 2010-2014 LEVAI Daniel
+# Copyright (c) 2010-2017 LEVAI Daniel
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -28,13 +28,13 @@
# Build script for the Linux port of OpenBSD's ksh
PRGNAM=ksh-openbsd
-VERSION=${VERSION:-20141220}
+VERSION=${VERSION:-20171016}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -45,8 +45,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "${ARCH}" == "i486" ];then
- SLKCFLAGS='-march=i486 -mtune=i686'
+if [ "${ARCH}" == "i586" ];then
+ SLKCFLAGS='-march=i586 -mtune=i686'
LIBDIRSUFFIX=""
elif [ "$ARCH" == "i686" ]; then
SLKCFLAGS="-march=i686 -mtune=i686"
@@ -81,10 +81,11 @@ 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- Changelog.ksh-openbsd INSTALL LEGAL NOTES PROJECTS README \
+ Changelog.ksh-openbsd LEGAL README \
$PKG/usr/doc/$PRGNAM-$VERSION
cp $CWD/README $PKG/usr/doc/$PRGNAM-$VERSION/README.ksh-openbsd
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/system/ksh-openbsd/ksh-openbsd.info b/system/ksh-openbsd/ksh-openbsd.info
index e3f96584bb25..5eb845b920b4 100644
--- a/system/ksh-openbsd/ksh-openbsd.info
+++ b/system/ksh-openbsd/ksh-openbsd.info
@@ -1,8 +1,8 @@
PRGNAM="ksh-openbsd"
-VERSION="20141220"
+VERSION="20171016"
HOMEPAGE="https://github.com/levaidaniel/ksh-openbsd"
-DOWNLOAD="https://github.com/levaidaniel/ksh-openbsd/archive/20141220.tar.gz"
-MD5SUM="74fa6c5476fad36dfc4dedc72de40b9c"
+DOWNLOAD="https://github.com/levaidaniel/ksh-openbsd/archive/20171016.tar.gz"
+MD5SUM="8a2e23bb3364cf5042173c8ed89885f6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libbsd"