summaryrefslogtreecommitdiffstats
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, 3 insertions, 7 deletions
diff --git a/graphics/scrot/scrot.SlackBuild b/graphics/scrot/scrot.SlackBuild
index 99764166b8..5cb78fa3b5 100644
--- a/graphics/scrot/scrot.SlackBuild
+++ b/graphics/scrot/scrot.SlackBuild
@@ -24,13 +24,11 @@
# along with this program (most likely, a file named COPYING). If
# not, see <http://www.gnu.org/licenses/>.
-set -e
-
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}
@@ -42,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
@@ -86,6 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
--disable-static \
--build=$ARCH-slackware-linux