aboutsummaryrefslogtreecommitdiff
path: root/desktop/tint2
diff options
context:
space:
mode:
authorDugan Chen <thedoogster [at] gmail [dot] com>2017-05-07 10:45:56 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-13 06:58:42 +0700
commita8d033ff08202d2499942bd08522f586dcf78532 (patch)
tree039d0b94dd01ef07afd0ef3f9ff489014efb12c4 /desktop/tint2
parent12bd84e97eb313946b511b76c2cab95910a22093 (diff)
desktop/tint2: Updated for version 0.14.4.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/tint2')
-rw-r--r--desktop/tint2/doinst.sh10
-rw-r--r--desktop/tint2/slack-desc2
-rw-r--r--desktop/tint2/tint2.SlackBuild24
-rw-r--r--desktop/tint2/tint2.info6
4 files changed, 26 insertions, 16 deletions
diff --git a/desktop/tint2/doinst.sh b/desktop/tint2/doinst.sh
index b406deda514e..8d631087b2dc 100644
--- a/desktop/tint2/doinst.sh
+++ b/desktop/tint2/doinst.sh
@@ -16,3 +16,13 @@ config etc/xdg/tint2/tint2rc.new
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/desktop/tint2/slack-desc b/desktop/tint2/slack-desc
index ea2be90183b4..93883b32246c 100644
--- a/desktop/tint2/slack-desc
+++ b/desktop/tint2/slack-desc
@@ -14,6 +14,6 @@ tint2:
tint2: The goal is to keep a clean and unintrusive look with code
tint2: lightweight and compliance with freedesktop specifications.
tint2:
-tint2: Homepage: http://code.google.com/p/tint2/
+tint2: Homepage: https://gitlab.com/o9000/tint2
tint2:
tint2:
diff --git a/desktop/tint2/tint2.SlackBuild b/desktop/tint2/tint2.SlackBuild
index 87f2d1360f30..856da7e06980 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
diff --git a/desktop/tint2/tint2.info b/desktop/tint2/tint2.info
index 413b23c029d0..9bb2666d6df9 100644
--- a/desktop/tint2/tint2.info
+++ b/desktop/tint2/tint2.info
@@ -1,8 +1,8 @@
PRGNAM="tint2"
-VERSION="0.14.1"
+VERSION="0.14.4"
HOMEPAGE="https://gitlab.com/o9000/tint2"
-DOWNLOAD="http://duganchen.ca/files/sbo_sources/tint2-v0.14.1-6cde7bef1e698c924f4c7fd65b71dd69e6173909.tar.bz2"
-MD5SUM="d1479727d7d697a890b4c5977fbc9ec4"
+DOWNLOAD="https://gitlab.com/o9000/tint2/repository/archive.tar.gz?ref=0.14.4"
+MD5SUM="ddb4bf7c9fc29a608db8c0097312cdac"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="imlib2"