From c4ada052955ffca83ff56840afa97e1aed954309 Mon Sep 17 00:00:00 2001 From: slakmagik Date: Fri, 28 Jan 2011 23:08:31 -0500 Subject: development/gtkdialog: Miscellaneous cleanups Remove unneeded comments. Move an info block to a more boilerplate location. Make the activity in examples/ more clearly take place in examples/. Signed-off-by: Robby Workman --- development/gtkdialog/gtkdialog.SlackBuild | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'development') 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 -- cgit v1.2.3