diff options
author | Ruben Schuller <sb@rbn.im> | 2019-05-04 02:29:38 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-05-04 02:29:38 +0700 |
commit | b5e459ed42d17b3ab3ec74ac485335e889401c0d (patch) | |
tree | 7bd15f3161b7e9505c06cf5fc52f0b8443a630de /system/plan9port/plan9port.SlackBuild | |
parent | e5fc1c5e981bf2bea8d06ae49cfd9e9a072bb4ee (diff) | |
download | slackbuilds-b5e459ed42d17b3ab3ec74ac485335e889401c0d.tar.gz |
system/plan9port: Updated for version 20171222.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/plan9port/plan9port.SlackBuild')
-rw-r--r-- | system/plan9port/plan9port.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/system/plan9port/plan9port.SlackBuild b/system/plan9port/plan9port.SlackBuild index d2f59e2b2e..4038cf29ff 100644 --- a/system/plan9port/plan9port.SlackBuild +++ b/system/plan9port/plan9port.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for plan9port -# Copyright (c) 2012-2017 Ruben Schuller +# Copyright (c) 2012-2019 Ruben Schuller # # Copyright (c) 2008-2010, Antonio Hernández Blas <hba.nihilismus@gmail.com> # All rights reserved. @@ -26,9 +26,10 @@ # 2012-10-23: added some changes to reflect the usage of nightly tarballs PRGNAM=plan9port -VERSION=${VERSION:-20171222} +VERSION=${VERSION:-20190501} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +COMMIT="3197719090b3fd0a038767f7e8e15e771b1515be" if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -48,9 +49,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG/opt $OUTPUT cd $TMP -rm -rf $PRGNAM-master -unzip $CWD/master.zip || unzip $CWD/plan9port-master.zip -cd $PRGNAM-master +rm -rf $PRGNAM-${COMMIT} +unzip $CWD/${COMMIT} || unzip $CWD/plan9port-${COMMIT}.zip +cd $PRGNAM-${COMMIT} chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -62,7 +63,7 @@ find -L . \ PLAN9_TARGET=/opt/plan9 ./INSTALL cd $TMP -mv $PRGNAM-master $PKG/opt/plan9 +mv $PRGNAM-${COMMIT} $PKG/opt/plan9 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |