diff options
author | slakmagik <slakmagik@gmail.com> | 2011-01-28 23:08:31 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-03-01 09:20:34 -0600 |
commit | c4ada052955ffca83ff56840afa97e1aed954309 (patch) | |
tree | 9ba6965a4c2ace403f2fe2bec56ecc650342dd20 /development/gtkdialog | |
parent | 0c9b8ca39d976bacbc1065d2e060cb9c9916641c (diff) |
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 <rworkman@slackbuilds.org>
Diffstat (limited to 'development/gtkdialog')
-rw-r--r-- | development/gtkdialog/gtkdialog.SlackBuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/development/gtkdialog/gtkdialog.SlackBuild b/development/gtkdialog/gtkdialog.SlackBuild index e38342d8ab4b1..592b822e05e94 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 |