summaryrefslogtreecommitdiff
path: root/graphics/pho/pho.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@gmail.com>2012-09-20 07:13:37 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-09-19 20:25:52 -0500
commitfc467c2bde0c9418d13778176b0e5dd0c2e04a18 (patch)
tree12e90a6469ea9e3fb1f6211942175d74f19fa345 /graphics/pho/pho.SlackBuild
parent7e1a2ace6c5d4506ab5c35c3eb33953528ef9a37 (diff)
downloadslackbuilds-fc467c2bde0c9418d13778176b0e5dd0c2e04a18.tar.gz
graphics/pho: Updated for version 0.9.8.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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