aboutsummaryrefslogtreecommitdiff
path: root/graphics/scrot/scrot.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/scrot/scrot.SlackBuild')
-rw-r--r--graphics/scrot/scrot.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/graphics/scrot/scrot.SlackBuild b/graphics/scrot/scrot.SlackBuild
index 6e74ccd5b7..5cb78fa3b5 100644
--- a/graphics/scrot/scrot.SlackBuild
+++ b/graphics/scrot/scrot.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/bash -e
+#!/bin/bash
# Slackware build script for scrot
@@ -27,8 +27,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=scrot
-VERSION=${VERSION:-0.8}
-BUILD=${BUILD:-4}
+VERSION=${VERSION:-1.10}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -84,6 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
--disable-static \
--build=$ARCH-slackware-linux