summaryrefslogtreecommitdiffstats
path: root/audio/clementine/clementine.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/clementine/clementine.SlackBuild')
-rw-r--r--audio/clementine/clementine.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/audio/clementine/clementine.SlackBuild b/audio/clementine/clementine.SlackBuild
index 876fcbb699..ce0616ccaf 100644
--- a/audio/clementine/clementine.SlackBuild
+++ b/audio/clementine/clementine.SlackBuild
@@ -25,7 +25,8 @@
# Modified by SlackBuilds.org
PRGNAM=clementine
-VERSION=${VERSION:-20151123_136c980}
+DIRNAM=Clementine
+VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,9 +62,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
-cd $PRGNAM-$VERSION
+rm -rf $DIRNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+cd $DIRNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -71,6 +72,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/sqlite.patch
mkdir build
cd build
cmake \