summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDugan Chen <thedoogster [at] gmail [dot] com>2016-08-14 22:28:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-20 07:49:48 +0700
commit1f240809568897f073e27205e1db78d37c621b08 (patch)
tree8a11a387421eb851021977b33feb5802350f9d0a
parent7542641fa4736470c22dc1d7493addf5bfcdca3c (diff)
downloadslackbuilds-1f240809568897f073e27205e1db78d37c621b08.tar.gz
desktop/tint2: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--desktop/tint2/README3
-rw-r--r--desktop/tint2/tint2.SlackBuild5
2 files changed, 2 insertions, 6 deletions
diff --git a/desktop/tint2/README b/desktop/tint2/README
index f9f4454127..0d0a2ca94b 100644
--- a/desktop/tint2/README
+++ b/desktop/tint2/README
@@ -9,6 +9,5 @@ and used as the default configuration.
You can enable/disable some features by editing the script. The defaults are:
- TINT2CONF_BUILD=OFF
+ TINT2CONF_BUILD=ON
BATTERY_PLUGIN=ON
- ADD_EXAMPLES=OFF
diff --git a/desktop/tint2/tint2.SlackBuild b/desktop/tint2/tint2.SlackBuild
index 0688e5f34d..ba847f99e9 100644
--- a/desktop/tint2/tint2.SlackBuild
+++ b/desktop/tint2/tint2.SlackBuild
@@ -34,11 +34,9 @@ else
fi
# A GTK+2 theme switcher for tint2
-TINT2CONF_BUILD=${TINT2CONF_BUILD:-OFF}
+TINT2CONF_BUILD=${TINT2CONF_BUILD:-ON}
# Battery status plugin
BATTERY_PLUGIN=${BATTERY_PLUGIN:-ON}
-# Install additional tint2rc examples in /usr/doc/tint2-$VERSION/examples
-ADD_EXAMPLES=${ADD_EXAMPLES:-OFF}
set -e
@@ -63,7 +61,6 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DMANDIR=/usr/man \
-DDOCDIR=/usr/doc/$PRGNAM-$VERSION \
- -DENABLE_EXAMPLES:BOOL=$ADD_EXAMPLES \
-DENABLE_TINT2CONF:BOOL=$TINT2CONF_BUILD \
-DENABLE_BATTERY:BOOL=$BATTERY_PLUGIN \
-DCMAKE_BUILD_TYPE=Release ..