diff options
author | Dugan Chen <thedoogster [at] gmail [dot] com> | 2017-05-07 10:45:56 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-05-13 06:58:42 +0700 |
commit | a8d033ff08202d2499942bd08522f586dcf78532 (patch) | |
tree | 039d0b94dd01ef07afd0ef3f9ff489014efb12c4 /desktop/tint2/tint2.SlackBuild | |
parent | 12bd84e97eb313946b511b76c2cab95910a22093 (diff) | |
download | slackbuilds-a8d033ff08202d2499942bd08522f586dcf78532.tar.gz |
desktop/tint2: Updated for version 0.14.4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/tint2/tint2.SlackBuild')
-rw-r--r-- | desktop/tint2/tint2.SlackBuild | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/desktop/tint2/tint2.SlackBuild b/desktop/tint2/tint2.SlackBuild index 87f2d1360f..856da7e069 100644 --- a/desktop/tint2/tint2.SlackBuild +++ b/desktop/tint2/tint2.SlackBuild @@ -6,14 +6,14 @@ # You are free to modify or redistribute this in any way you wish. PRGNAM=tint2 -VERSION=${VERSION:-0.14.1} +VERSION=${VERSION:-0.14.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -COMMIT=${COMMIT:-6cde7bef1e698c924f4c7fd65b71dd69e6173909} +COMMIT=${COMMIT:-6df4eb4bee6a4872cfa66fbcb3bafe5b0548f173} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -24,8 +24,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" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" elif [ "$ARCH" = "x86_64" ]; then @@ -39,16 +39,16 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -SRCDIR=${PRGNAM}-v${VERSION}-${COMMIT} -rm -rf $SRCDIR -tar xvf ${CWD}/${SRCDIR}.tar.bz2 +SRCDIR=${PRGNAM}-${VERSION}-${COMMIT} +rm -rf ${SRCDIR} +tar xvf ${CWD}/${SRCDIR}.tar.gz || tar xvf ${CWD}/archive.tar.gz\?ref\=${VERSION} cd ${SRCDIR} chown -R root:root . 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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \; mkdir -p build cd build |