summaryrefslogtreecommitdiff
path: root/system/pmount/pmount.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/pmount/pmount.SlackBuild')
-rw-r--r--system/pmount/pmount.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/system/pmount/pmount.SlackBuild b/system/pmount/pmount.SlackBuild
index 4447fbeec8..0a7dd646f1 100644
--- a/system/pmount/pmount.SlackBuild
+++ b/system/pmount/pmount.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pmount
-# Copyright 2007 by Guillermo Bonvehi (gbonvehi@gmail.com)
+# Copyright 2007-2012 by Guillermo Bonvehi (gbonvehi@gmail.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified by Robby Workman <rworkman@slackbuilds.org>
+# Contains modifications by Robby Workman <rworkman@slackbuilds.org>
# No additional license terms added.
PRGNAM=pmount
-VERSION=0.9.19
+VERSION=${VERSION:-0.9.23}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,7 +65,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -96,10 +96,8 @@ mv $PKG/etc/pmount.allow $PKG/etc/pmount.allow.new
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \