diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-31 23:55:43 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-31 23:55:43 +0700 |
commit | 0eb9915aa341e5ddbaf23bfd4e452412cca2346d (patch) | |
tree | 78590ca9d2a49fac8b3d4e744adc1f69c7740457 /audio/xmms-ctl | |
parent | 9c89e251b4ec1ee2a17858b09a3123998c110101 (diff) | |
download | slackbuilds-0eb9915aa341e5ddbaf23bfd4e452412cca2346d.tar.gz |
audio/xmms-ctl: Shorten VERSION.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/xmms-ctl')
-rw-r--r-- | audio/xmms-ctl/xmms-ctl.SlackBuild | 15 | ||||
-rw-r--r-- | audio/xmms-ctl/xmms-ctl.info | 2 |
2 files changed, 9 insertions, 8 deletions
diff --git a/audio/xmms-ctl/xmms-ctl.SlackBuild b/audio/xmms-ctl/xmms-ctl.SlackBuild index efd4cc75d3..6859c04341 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 e9d940df8b..18cc76a909 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" |