summaryrefslogtreecommitdiff
path: root/graphics/kphotoalbum/kphotoalbum.SlackBuild
diff options
context:
space:
mode:
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