summaryrefslogtreecommitdiffstats
path: root/graphics/kphotoalbum/kphotoalbum.SlackBuild
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-04-20 16:10:36 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-04-20 16:10:36 +0700
commit8c915082e8170843b54dcae3312ac7976801a58a (patch)
treeb5cb1bfca3470b9a0742c22f185679c5db7d47cd /graphics/kphotoalbum/kphotoalbum.SlackBuild
parent3ad13bd138ca841cee14da27adf03b9fa0002b51 (diff)
downloadslackbuilds-8c915082e8170843b54dcae3312ac7976801a58a.tar.gz
slackbuilds-8c915082e8170843b54dcae3312ac7976801a58a.tar.xz
graphics/kphotoalbum: Updated for version 4.7.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/kphotoalbum/kphotoalbum.SlackBuild')
-rw-r--r--graphics/kphotoalbum/kphotoalbum.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/graphics/kphotoalbum/kphotoalbum.SlackBuild b/graphics/kphotoalbum/kphotoalbum.SlackBuild
index 703f50b424..ff0c67222a 100644
--- a/graphics/kphotoalbum/kphotoalbum.SlackBuild
+++ b/graphics/kphotoalbum/kphotoalbum.SlackBuild
@@ -4,7 +4,7 @@
# By default the demo pictures and movie are packaged.
PRGNAM=kphotoalbum
-VERSION=${VERSION:-4.7}
+VERSION=${VERSION:-4.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -49,10 +49,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
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 build && cd build
cmake \
@@ -75,7 +75,7 @@ cp -a COPYING ChangeLog tips README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-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
mkdir -p $PKG/install