diff options
Diffstat (limited to 'system/ksh-openbsd')
-rw-r--r-- | system/ksh-openbsd/ksh-openbsd.SlackBuild | 16 | ||||
-rw-r--r-- | system/ksh-openbsd/ksh-openbsd.info | 2 |
2 files changed, 7 insertions, 11 deletions
diff --git a/system/ksh-openbsd/ksh-openbsd.SlackBuild b/system/ksh-openbsd/ksh-openbsd.SlackBuild index db0480949b31..14ff80f834d0 100644 --- a/system/ksh-openbsd/ksh-openbsd.SlackBuild +++ b/system/ksh-openbsd/ksh-openbsd.SlackBuild @@ -43,9 +43,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -75,24 +72,23 @@ rm -Rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -Rf $PRGNAM-$VERSION -[ -e $CWD/$VERSION.tar.gz ] && tar xvf $CWD/$VERSION.tar.gz -[ -e $CWD/$PRGNAM-$VERSION.tar.gz ] && tar xf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ + -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ CFLAGS="$SLKCFLAGS $(getconf LFS_CFLAGS)" make make check make install DESTDIR=$PKG 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 + 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} diff --git a/system/ksh-openbsd/ksh-openbsd.info b/system/ksh-openbsd/ksh-openbsd.info index 0430f276b5cd..13f3ae15ae12 100644 --- a/system/ksh-openbsd/ksh-openbsd.info +++ b/system/ksh-openbsd/ksh-openbsd.info @@ -1,7 +1,7 @@ PRGNAM="ksh-openbsd" VERSION="20190804" HOMEPAGE="https://github.com/levaidaniel/ksh-openbsd" -DOWNLOAD="https://github.com/levaidaniel/ksh-openbsd/archive/20190804.tar.gz" +DOWNLOAD="https://github.com/levaidaniel/ksh-openbsd/archive/ksh-openbsd-20190804.tar.gz" MD5SUM="e9f4502ecfa0bc61618ecfd819d1b9f0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |