summaryrefslogtreecommitdiffstats
path: root/graphics/digikam/digikam.SlackBuild
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2013-12-08 11:39:12 -0500
committer Erik Hanson <erik@slackbuilds.org>2013-12-14 10:52:14 -0600
commit361d205921d9596fea5c4efa8f93d09b1ef0e37c (patch)
tree1e7497da062026b9c7c2b6962402fe38e6f701d1 /graphics/digikam/digikam.SlackBuild
parentc9c07db6422603857b6a655c7a39d1d3dad097ec (diff)
downloadslackbuilds-361d205921d9596fea5c4efa8f93d09b1ef0e37c.tar.gz
slackbuilds-361d205921d9596fea5c4efa8f93d09b1ef0e37c.tar.xz
graphics/digikam: Cleanup + added additional optional deps.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'graphics/digikam/digikam.SlackBuild')
-rw-r--r--graphics/digikam/digikam.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/digikam/digikam.SlackBuild b/graphics/digikam/digikam.SlackBuild
index eb5703c820..168ffb1d88 100644
--- a/graphics/digikam/digikam.SlackBuild
+++ b/graphics/digikam/digikam.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for digiKam
# Copyright 2007-2011 Frank Caraballo <fecaraballo{at}gmail{dot}com>
+# Copyright 2013 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +24,6 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by Niklas 'Nille' Åkerström for slackware64 and to use cmake.
-# Updated by Willy Sudiarto Raharjo <willysr@slackware-id.org>
PRGNAM=digikam
VERSION=${VERSION:-3.5.0}
@@ -59,14 +59,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
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
@@ -83,7 +83,7 @@ cd build
make install DESTDIR=$PKG
cd ..
-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
find $PKG/usr/man -type f -exec gzip -9 {} \;