summaryrefslogtreecommitdiff
path: root/desktop/tint2/tint2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/tint2/tint2.SlackBuild')
-rw-r--r--desktop/tint2/tint2.SlackBuild24
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