aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/xmms-ctl/xmms-ctl.SlackBuild15
-rw-r--r--audio/xmms-ctl/xmms-ctl.info2
2 files changed, 9 insertions, 8 deletions
diff --git a/audio/xmms-ctl/xmms-ctl.SlackBuild b/audio/xmms-ctl/xmms-ctl.SlackBuild
index efd4cc75d3f25..6859c043417e2 100644
--- a/audio/xmms-ctl/xmms-ctl.SlackBuild
+++ b/audio/xmms-ctl/xmms-ctl.SlackBuild
@@ -26,13 +26,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xmms-ctl
-VERSION=${VERSION:-4158c718bf68cd8653a0aee93afe65202e483ef9}
+VERSION=${VERSION:-4158c718}
+COMMITVERSION=${COMMITVERSION:-4158c718bf68cd8653a0aee93afe65202e483ef9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -43,8 +44,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -62,9 +63,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-unzip $CWD/$PRGNAM-$VERSION.zip || unzip $CWD/$VERSION.zip
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$COMMITVERSION
+unzip $CWD/$PRGNAM-$COMMITVERSION.zip || unzip $CWD/$COMMITVERSION.zip
+cd $PRGNAM-$COMMITVERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/audio/xmms-ctl/xmms-ctl.info b/audio/xmms-ctl/xmms-ctl.info
index e9d940df8b906..18cc76a9093db 100644
--- a/audio/xmms-ctl/xmms-ctl.info
+++ b/audio/xmms-ctl/xmms-ctl.info
@@ -1,5 +1,5 @@
PRGNAM="xmms-ctl"
-VERSION="4158c718bf68cd8653a0aee93afe65202e483ef9"
+VERSION="4158c718"
HOMEPAGE="https://github.com/eukos16/xmms-ctl"
DOWNLOAD="https://github.com/eukos16/xmms-ctl/archive/4158c718bf68cd8653a0aee93afe65202e483ef9.zip"
MD5SUM="c5913176230021c3608cbf69e025454e"