summaryrefslogtreecommitdiff
path: root/graphics/simple-scan/simple-scan.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/simple-scan/simple-scan.SlackBuild')
-rw-r--r--graphics/simple-scan/simple-scan.SlackBuild13
1 files changed, 7 insertions, 6 deletions
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}
+