summaryrefslogtreecommitdiff
path: root/graphics/exact-image
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2019-01-30 13:31:50 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-02-02 08:12:06 +0700
commitde98558114a918645d94a816790f1483eadbfe20 (patch)
tree4eb326a15cd0c5f0f1cbacdde8c08a81d560a483 /graphics/exact-image
parent42f817388be3cee0295366d98ebb1e8f752b367d (diff)
downloadslackbuilds-de98558114a918645d94a816790f1483eadbfe20.tar.gz
graphics/exact-image: Updated for version 1.0.2.
Diffstat (limited to 'graphics/exact-image')
-rw-r--r--graphics/exact-image/exact-image.SlackBuild20
-rw-r--r--graphics/exact-image/exact-image.info6
2 files changed, 14 insertions, 12 deletions
diff --git a/graphics/exact-image/exact-image.SlackBuild b/graphics/exact-image/exact-image.SlackBuild
index 60c49df061..bc64a31f5b 100644
--- a/graphics/exact-image/exact-image.SlackBuild
+++ b/graphics/exact-image/exact-image.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for exact-image
-# Copyright 2010 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2010-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=exact-image
-VERSION=${VERSION:-1.0.1}
+VERSION=${VERSION:-1.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,17 +57,17 @@ fi
set -e
rm -rf $PKG
-mkdir -p $TMP $OUTPUT
+mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Patch to fix perl path
eval $(perl -V:vendorlib)
@@ -83,11 +83,13 @@ patch -p1 < $CWD/c98.patch
make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS -Wno-narrowing -fpermissive"
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README TODO CODING examples $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE README TODO CODING examples \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/exact-image/exact-image.info b/graphics/exact-image/exact-image.info
index 900204e63e..edc802dc9e 100644
--- a/graphics/exact-image/exact-image.info
+++ b/graphics/exact-image/exact-image.info
@@ -1,8 +1,8 @@
PRGNAM="exact-image"
-VERSION="1.0.1"
+VERSION="1.0.2"
HOMEPAGE="http://www.exactcode.de/site/open_source/exactimage/"
-DOWNLOAD="http://dl.exactcode.de/oss/exact-image/exact-image-1.0.1.tar.bz2"
-MD5SUM="1f03ef559ca81cf7a1651a72fd9fe98f"
+DOWNLOAD="http://dl.exactcode.de/oss/exact-image/exact-image-1.0.2.tar.bz2"
+MD5SUM="1300eec0c9f8a501296a10ead1e007a9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="agg"