summaryrefslogtreecommitdiff
path: root/multimedia/spotify64/spotify64.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/spotify64/spotify64.SlackBuild')
-rw-r--r--multimedia/spotify64/spotify64.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/multimedia/spotify64/spotify64.SlackBuild b/multimedia/spotify64/spotify64.SlackBuild
index bb1cb03256..af2aa83d38 100644
--- a/multimedia/spotify64/spotify64.SlackBuild
+++ b/multimedia/spotify64/spotify64.SlackBuild
@@ -1,5 +1,4 @@
#!/bin/sh
-
# Slackware build script for spotify64
# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com
@@ -24,13 +23,14 @@
PRGNAM=spotify64
SRCNAM=spotify
-VERSION=${VERSION:-0.9.17.1.g9b85d43.7}
+VERSION=${VERSION:-0.9.17.8.gd06432d.31}
+SHORTVER=`echo $VERSION | cut -d. -f1-3`
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
case "$(uname -m)" in
x86_64) DEBARCH="amd64" ; LIBDIRSUFFIX="64" ; ARCH=x86_64 ;;
- *) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;;
+ *) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;;
esac
CWD=$(pwd)
@@ -43,7 +43,7 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
-ar -p $CWD/${SRCNAM}-client_${VERSION}-1_${DEBARCH}.deb data.tar.xz | tar Jxv
+ar -p $CWD/${SRCNAM}-client-${SHORTVER}_${VERSION}-1_${DEBARCH}.deb data.tar.xz | tar Jxv
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -72,7 +72,7 @@ mkdir -p $PKG/usr/share/applications/
cat $CWD/$SRCNAM.desktop > $PKG/usr/share/applications/$SRCNAM.desktop
mv $PKG/usr/share/doc $PKG/usr
-mv $PKG/usr/doc/$SRCNAM-client $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/doc/$SRCNAM-client-$SHORTVER $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install