summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/gtkdialog/gtkdialog.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/development/gtkdialog/gtkdialog.SlackBuild b/development/gtkdialog/gtkdialog.SlackBuild
index e38342d8ab..592b822e05 100644
--- a/development/gtkdialog/gtkdialog.SlackBuild
+++ b/development/gtkdialog/gtkdialog.SlackBuild
@@ -9,12 +9,10 @@ VERSION=${VERSION:-0.7.20}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -60,18 +58,19 @@ patch -p1 < $CWD/gtkdialog-0.7.20-variables-export-fix.patch
patch -p1 < $CWD/redeclaration.patch
CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" ./configure --prefix=/usr
+
make
make DESTDIR=$PKG install-strip
+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 *)
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG/usr/doc -name "Makefile*" -exec rm -f {} \;
-find $PKG/usr/doc -type f -exec chmod 0644 {} \;
-
-rm -f $PKG/usr/info/dir
-gzip -9 $PKG/usr/info/$PRGNAM.info
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc