summaryrefslogtreecommitdiff
path: root/desktop/tint2
diff options
context:
space:
mode:
authorDugan Chen <thedoogster [at] gmail [dot] com>2017-04-02 12:30:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-06 21:02:36 +0700
commit2ec7f347cafd508fb901349bacc1e4361701f810 (patch)
treefdbf4f961253dd342dcc4699355d0a9bb22ab18e /desktop/tint2
parent29d39a893428f8092753a387c95915b0bed18996 (diff)
downloadslackbuilds-2ec7f347cafd508fb901349bacc1e4361701f810.tar.gz
desktop/tint2: Updated for version 0.14.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/tint2')
-rw-r--r--desktop/tint2/README5
-rw-r--r--desktop/tint2/tint2.SlackBuild24
-rw-r--r--desktop/tint2/tint2.info6
3 files changed, 12 insertions, 23 deletions
diff --git a/desktop/tint2/README b/desktop/tint2/README
index d7493d48fa..debc87da0d 100644
--- a/desktop/tint2/README
+++ b/desktop/tint2/README
@@ -6,8 +6,3 @@ compliance with freedesktop specifications.
On the first run, /etc/xdg/tint2/tint2rc is copied to ~/.config/tint2/tint2rc
and used as the default configuration.
-
-You can enable/disable some features by editing the script. The defaults are:
-
- TINT2CONF_BUILD=ON
- BATTERY_PLUGIN=ON
diff --git a/desktop/tint2/tint2.SlackBuild b/desktop/tint2/tint2.SlackBuild
index 04e15d4e74..87f2d1360f 100644
--- a/desktop/tint2/tint2.SlackBuild
+++ b/desktop/tint2/tint2.SlackBuild
@@ -6,10 +6,10 @@
# You are free to modify or redistribute this in any way you wish.
PRGNAM=tint2
-VERSION=${VERSION:-0.12.12}
+VERSION=${VERSION:-0.14.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-COMMIT=${COMMIT:-e9d6ec9f2301e88857ffa7b287a4a3eb36543940}
+COMMIT=${COMMIT:-6cde7bef1e698c924f4c7fd65b71dd69e6173909}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -34,19 +34,15 @@ else
SLKCFLAGS="-O2"
fi
-# A GTK+2 theme switcher for tint2
-TINT2CONF_BUILD=${TINT2CONF_BUILD:-ON}
-# Battery status plugin
-BATTERY_PLUGIN=${BATTERY_PLUGIN:-ON}
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf ${PRGNAM}-${VERSION}
-tar xvf $CWD/${PRGNAM}_${VERSION}.orig.tar.gz
-cd ${PRGNAM}-${VERSION}-${COMMIT}
+SRCDIR=${PRGNAM}-v${VERSION}-${COMMIT}
+rm -rf $SRCDIR
+tar xvf ${CWD}/${SRCDIR}.tar.bz2
+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 \) \
@@ -60,19 +56,17 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DMANDIR=/usr/man \
- -DDOCDIR=/usr/doc/$PRGNAM-$VERSION \
- -DENABLE_TINT2CONF:BOOL=$TINT2CONF_BUILD \
- -DENABLE_BATTERY:BOOL=$BATTERY_PLUGIN \
-DCMAKE_BUILD_TYPE=Release ..
make
make DESTDIR=$PKG install
cd ..
+mv $PKG/usr/share/{doc,man} $PKG/usr
+mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/${PRGNAM}-${VERSION}
+
mv $PKG/etc/xdg/tint2/tint2rc $PKG/etc/xdg/tint2/tint2rc.new
-# Strip binaries
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/desktop/tint2/tint2.info b/desktop/tint2/tint2.info
index 319a1fed66..413b23c029 100644
--- a/desktop/tint2/tint2.info
+++ b/desktop/tint2/tint2.info
@@ -1,8 +1,8 @@
PRGNAM="tint2"
-VERSION="0.12.12"
+VERSION="0.14.1"
HOMEPAGE="https://gitlab.com/o9000/tint2"
-DOWNLOAD="http://http.debian.net/debian/pool/main/t/tint2/tint2_0.12.12.orig.tar.gz"
-MD5SUM="1fe0003fcbae92e38d5d27f89dad5b6d"
+DOWNLOAD="http://duganchen.ca/files/sbo_sources/tint2-v0.14.1-6cde7bef1e698c924f4c7fd65b71dd69e6173909.tar.bz2"
+MD5SUM="d1479727d7d697a890b4c5977fbc9ec4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="imlib2"