summaryrefslogtreecommitdiff
path: root/graphics/kamerka/kamerka.SlackBuild
diff options
context:
space:
mode:
authorSergio Vicari <sercari@esdebian.org>2014-05-04 10:42:28 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-04 10:42:28 +0700
commitae59dc0313102d1b6022bb078596fbef4e9a644f (patch)
tree243d394d18f34134db98d72730388ffefb9c7055 /graphics/kamerka/kamerka.SlackBuild
parent1ea054ff140d91da0ee2408caf8e8c4f3e2a94dd (diff)
downloadslackbuilds-ae59dc0313102d1b6022bb078596fbef4e9a644f.tar.gz
graphics/kamerka: Updated for version 0.8.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/kamerka/kamerka.SlackBuild')
-rw-r--r--graphics/kamerka/kamerka.SlackBuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/graphics/kamerka/kamerka.SlackBuild b/graphics/kamerka/kamerka.SlackBuild
index 37ebbdee54..d1a7a5486e 100644
--- a/graphics/kamerka/kamerka.SlackBuild
+++ b/graphics/kamerka/kamerka.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for kamerka
-# Copyright 2012 Sergio Vicari <sercari[at]esdebian.org>
+# Copyright 2012-2014 Sergio Vicari <sercari[at]esdebian.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,9 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
PRGNAM=kamerka
-VERSION=${VERSION:-0.8.1}
+VERSION=${VERSION:-0.8.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,10 +64,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
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 {} \;
mkdir -p build
cd build
@@ -87,11 +86,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
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 \
- AUTHORS COPYING ChangeLog INSTALL README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog INSTALL README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install