mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
desktop/tint2: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
7542641fa4
commit
1f24080956
2 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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 ..
|
||||
|
|
Loading…
Reference in a new issue