summaryrefslogtreecommitdiffstats
path: root/libraries/gmtk
diff options
context:
space:
mode:
author Phillip Warner2012-09-30 22:02:10 +0200
committer Robby Workman2012-10-01 03:00:38 +0200
commit10845d9a595131abf33b2b3e6bceea6ae06b1c6d (patch)
tree42483642a93228a10e17d30ebc9905764286b49c /libraries/gmtk
parent4512e27fa6597c255504a456980a4975685a5076 (diff)
downloadslackbuilds-10845d9a595131abf33b2b3e6bceea6ae06b1c6d.tar.gz
libraries/gmtk: Fixed gconf/dconf inclusion/exclusion logic.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/gmtk')
-rw-r--r--libraries/gmtk/gmtk.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/libraries/gmtk/gmtk.SlackBuild b/libraries/gmtk/gmtk.SlackBuild
index 409a655ed8..a188298f76 100644
--- a/libraries/gmtk/gmtk.SlackBuild
+++ b/libraries/gmtk/gmtk.SlackBuild
@@ -5,7 +5,7 @@
PRGNAM=gmtk
VERSION=${VERSION:-1.0.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -22,8 +22,8 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
# Assume we're using gconf unless otherwise specified
-# set to "yes" to use dconf
-DCONF=${DCONF:-no}
+# set to "YES" to use dconf
+DCONF=${DCONF:-NO}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -54,11 +54,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
-o -perm 400 \) -exec chmod 644 {} \;
-# If GCONF=YES above, then enable gconf; otherwise, disable it.
-if [ "$DCONF" = "no" ]; then
- do_gconf="enable"
- else
+# If DCONF=YES above, then disable gconf; otherwise, enable it.
+if [ "$DCONF" = "YES" ]; then
do_gconf="disable"
+ else
+ do_gconf="enable"
fi
CFLAGS="$SLKCFLAGS" \
@@ -82,6 +82,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}