desktop/tint2: Update script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dugan Chen 2016-08-14 22:28:20 +07:00 committed by Willy Sudiarto Raharjo
parent 7542641fa4
commit 1f24080956
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 2 additions and 6 deletions

View file

@ -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

View file

@ -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 ..