summaryrefslogtreecommitdiff
path: root/audio/apulse/apulse.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/apulse/apulse.SlackBuild')
-rw-r--r--audio/apulse/apulse.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/apulse/apulse.SlackBuild b/audio/apulse/apulse.SlackBuild
index d35bafbd6e..4957fc571d 100644
--- a/audio/apulse/apulse.SlackBuild
+++ b/audio/apulse/apulse.SlackBuild
@@ -23,7 +23,7 @@
# <http://www.gnu.org/licenses/>.
PRGNAM=apulse
-VERSION=${VERSION:-20140920}
+VERSION=${VERSION:-0.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,8 +67,8 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
rm -fr $PRGNAM-master
-unzip $CWD/$PRGNAM-$VERSION.zip
-cd $PRGNAM-master
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -80,7 +80,7 @@ if [ "$COMPAT32" = "no" ]; then
sed -i "s|lib/apulse|lib${LIBDIRSUFFIX}/apulse|" CMakeLists.txt
fi
-mkdir -p build
+mkdir -pv build
cd build
if [ "$COMPAT32" = "yes" ]; then
CFLAGS=-m32 \