summaryrefslogtreecommitdiff
path: root/graphics/pho/pho.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pho/pho.SlackBuild')
-rw-r--r--graphics/pho/pho.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/pho/pho.SlackBuild b/graphics/pho/pho.SlackBuild
index aa35f7fd71..42a591b70f 100644
--- a/graphics/pho/pho.SlackBuild
+++ b/graphics/pho/pho.SlackBuild
@@ -5,7 +5,7 @@
# Written by Zbigniew Baniewski, zb@ispid.com.pl
PRGNAM=pho
-VERSION=0.9.6
+VERSION=${VERSION:-0.9.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,9 +41,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $PRGNAM
tar zxvf $CWD/${PRGNAM}-${VERSION}.tar.gz
-cd $PRGNAM-$VERSION
+cd $PRGNAM
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -66,7 +66,7 @@ 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 COPYING HACKING README ChangeLog TODO \
+cp -a COPYING README ChangeLog TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild