From 2359a6e56f32f07c4edcf7eb71834e51fa7d2bcf Mon Sep 17 00:00:00 2001 From: Nishant Limbachia Date: Tue, 31 May 2011 20:54:55 -0400 Subject: graphics/simple-scan: Updated for version 2.32.0.2. Signed-off-by: dsomero --- graphics/simple-scan/simple-scan.SlackBuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'graphics/simple-scan/simple-scan.SlackBuild') diff --git a/graphics/simple-scan/simple-scan.SlackBuild b/graphics/simple-scan/simple-scan.SlackBuild index 06ebf51025..72d6682f59 100644 --- a/graphics/simple-scan/simple-scan.SlackBuild +++ b/graphics/simple-scan/simple-scan.SlackBuild @@ -3,7 +3,7 @@ # Slackware Package Build Script for simple-scan # Home Page https://launchpad.net/simple-scan -# Copyright (c) 2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net) +# Copyright (c) 2010-2011, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net) # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=simple-scan -VERSION=${VERSION:-2.31.1} +VERSION=${VERSION:-2.32.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -fr $TMP/$PRGNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT @@ -83,20 +83,21 @@ CFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG -find $PKG/usr/man -type f -exec gzip -9 {} \; - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS ChangeLog COPYING INSTALL NEWS README \ $PKG/usr/doc/$PRGNAM-$VERSION +find $PKG/usr/man -type f -exec gzip -9 {} \; + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh -for i in $PKG/etc/gconf/schemas/* ; do +for i in $PKG/etc/gconf/schemas/* ; do echo "schema_install $(basename $i)" >> $PKG/install/doinst.sh done cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} + -- cgit v1.2.3