summaryrefslogtreecommitdiff
path: root/development/gtkdialog/gtkdialog.SlackBuild
diff options
context:
space:
mode:
authorslakmagik <slakmagik@gmail.com>2011-09-30 23:40:45 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-10-11 21:20:25 -0500
commitbc2d336832a8d764f78a22bcccda0a1b45bbca4d (patch)
tree0d899e284435c88f94fbfd1fba844b78a913cb2c /development/gtkdialog/gtkdialog.SlackBuild
parent66c6366edf7693071b8e184f365d16cd1e135ab0 (diff)
downloadslackbuilds-bc2d336832a8d764f78a22bcccda0a1b45bbca4d.tar.gz
development/gtkdialog: Updated for version 0.8.0.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'development/gtkdialog/gtkdialog.SlackBuild')
-rw-r--r--development/gtkdialog/gtkdialog.SlackBuild21
1 files changed, 7 insertions, 14 deletions
diff --git a/development/gtkdialog/gtkdialog.SlackBuild b/development/gtkdialog/gtkdialog.SlackBuild
index 592b822e05..70745951e5 100644
--- a/development/gtkdialog/gtkdialog.SlackBuild
+++ b/development/gtkdialog/gtkdialog.SlackBuild
@@ -5,8 +5,8 @@
# Released under the WTFPL
PRGNAM=gtkdialog
-VERSION=${VERSION:-0.7.20}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-0.8.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -51,14 +51,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
-o -perm 400 \) -exec chmod 644 {} \;
-# Fix an infinite loop caused by a pair of statements not being contained in
-# braces. Thanks to David B. Cortarello
-patch -p1 < $CWD/gtkdialog-0.7.20-variables-export-fix.patch
-# Fix a redeclaration error/namespace issue
-patch -p1 < $CWD/redeclaration.patch
-
-CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" ./configure --prefix=/usr
-
+CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" \
+ ./configure --prefix=/usr --infodir=/usr/info
make
make DESTDIR=$PKG install-strip
@@ -66,10 +60,9 @@ rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/$PRGNAM.info
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-# the NEWS and README files are empty, so this doesn't include them
-cp -a [ACIT]* examples $PKG/usr/doc/$PRGNAM-$VERSION
-# clean up some stuff in examples/
-(cd $PKG/usr/doc/$PRGNAM-$VERSION/examples; rm -f Makefile*; chmod 0644 *)
+cp -a [ACINRT]* examples doc/reference $PKG/usr/doc/$PRGNAM-$VERSION
+# make example docs non-executable
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -print0 | xargs -0 chmod 0644
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install