diff options
Diffstat (limited to 'development/gtkdialog/gtkdialog.SlackBuild')
-rw-r--r-- | development/gtkdialog/gtkdialog.SlackBuild | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/development/gtkdialog/gtkdialog.SlackBuild b/development/gtkdialog/gtkdialog.SlackBuild index 592b822e05e9..70745951e51c 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 |