diff options
Diffstat (limited to 'multimedia/cantata/cantata.SlackBuild')
-rw-r--r-- | multimedia/cantata/cantata.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/multimedia/cantata/cantata.SlackBuild b/multimedia/cantata/cantata.SlackBuild index 26d8a772399f7..1d9ee2ba2a509 100644 --- a/multimedia/cantata/cantata.SlackBuild +++ b/multimedia/cantata/cantata.SlackBuild @@ -24,8 +24,8 @@ PRGNAM=cantata # this could be set to "svn" to automatically pull the newest source -VERSION=${VERSION:-1.3.4} -SRCFILE=${SRCFILE:-"uc?export=download&id=0Bzghs6gQWi60WTYtaXk3c1IzNVU"} +VERSION=${VERSION:-1.5.1} +SRCFILE=${SRCFILE:-"uc?export=download&id=0Bzghs6gQWi60UktwaTRMTjRIUW8"} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -100,10 +100,10 @@ rm -rf $PRGNAM-$VERSION if [ "$VERSION" = "svn" ]; then svn checkout http://cantata.googlecode.com/svn/trunk/ cantata-svn else - if [ -f "$PRGNAM-$VERSION.tar.bz2" ]; then + if [ -e $CWD/$PRGNAM-$VERSION.tar.bz2 ]; then tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 else - tar xvf $CWD/${SRCFILE} + tar xvf $CWD/$SRCFILE fi fi @@ -113,7 +113,7 @@ 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 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir -p build cd build @@ -125,6 +125,7 @@ cd build -DCMAKE_BUILD_TYPE=Release \ $CMAKEFLAGS .. sed -i "s|lib/cantata|lib${LIBDIRSUFFIX}/cantata|" ../replaygain/CMakeLists.txt + sed -i "s|lib/cantata|lib${LIBDIRSUFFIX}/cantata|" ../tags/CMakeLists.txt make make install DESTDIR=$PKG cd .. |