summaryrefslogtreecommitdiff
path: root/system/plan9port/plan9port.SlackBuild
diff options
context:
space:
mode:
authorRuben Schuller <ruben@orgizm.net>2014-05-22 20:47:18 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-23 09:16:30 +0700
commit7d08a1b05a5df5cd0617c004bebf4d86ba16f98f (patch)
treea798b6289137f9b905982eeb9740514b8552a4aa /system/plan9port/plan9port.SlackBuild
parentbea639fa5483c7ff5f840cb0f8d25d34242cf3e9 (diff)
downloadslackbuilds-7d08a1b05a5df5cd0617c004bebf4d86ba16f98f.tar.gz
system/plan9port: Updated for version 20140306.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/plan9port/plan9port.SlackBuild')
-rw-r--r--system/plan9port/plan9port.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/system/plan9port/plan9port.SlackBuild b/system/plan9port/plan9port.SlackBuild
index 999d86c428..7c51a2ead6 100644
--- a/system/plan9port/plan9port.SlackBuild
+++ b/system/plan9port/plan9port.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for plan9port
-# Copyright (c) 2012,2013 Ruben Schuller <ruben@orgizm.net>
+# Copyright (c) 2012-2014 Ruben Schuller <ruben@orgizm.net>
#
# Copyright (c) 2008-2010, Antonio Hernández Blas <hba.nihilismus@gmail.com>
# All rights reserved.
@@ -26,7 +26,7 @@
# 2012-10-23: added some changes to reflect the usage of nightly tarballs
PRGNAM=plan9port
-VERSION=${VERSION:-20130308}
+VERSION=${VERSION:-20140306}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,10 +53,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tgz
cd $PRGNAM
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 \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# All plan9 programs are going to be installed in "/opt/plan9"
PLAN9_TARGET=/opt/plan9 ./INSTALL
@@ -64,7 +64,7 @@ PLAN9_TARGET=/opt/plan9 ./INSTALL
cd $TMP
mv $PRGNAM $PKG/opt/plan9
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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
# man(1) from plan9port dislikes man pages compressed :)