summaryrefslogtreecommitdiff
path: root/graphics/kphotoalbum/kphotoalbum.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2014-07-22 05:39:15 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-03 16:32:15 +0700
commit968bbbfae8eb0be9127f4f3591133822f627afe1 (patch)
tree7b548d31b6ef0b7e0a4588f966c350c73fc025e6 /graphics/kphotoalbum/kphotoalbum.SlackBuild
parent44a9dfd8636b07c064af6fae057db9ba7fe9d214 (diff)
downloadslackbuilds-968bbbfae8eb0be9127f4f3591133822f627afe1.tar.gz
graphics/kphotoalbum: Updated for version 4.5.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'graphics/kphotoalbum/kphotoalbum.SlackBuild')
-rw-r--r--graphics/kphotoalbum/kphotoalbum.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/graphics/kphotoalbum/kphotoalbum.SlackBuild b/graphics/kphotoalbum/kphotoalbum.SlackBuild
index b7bcbd931b..2f9555f680 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.4}
+VERSION=${VERSION:-4.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -45,7 +45,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xjvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -54,10 +54,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-if [ "$DOCBOOK_PATCH" = "yes" ]; then
- patch -p1 < $CWD/kphotoalbum-4.3-docbook_xml.patch
-fi
-
mkdir build && cd build
cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
@@ -75,7 +71,7 @@ if [ "$DEMO" = "no" ]; then
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING ChangeLog tips TODO README \
+cp -a COPYING ChangeLog tips README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild