aboutsummaryrefslogtreecommitdiff
path: root/graphics/findimagedupes
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2019-12-01 01:15:56 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-15 17:06:21 +0700
commit1aadd5feae21ce145c4ed4e7bde1b5ff9c4902c9 (patch)
tree68e37301fd588ddc6fe488e654dc5b146cd2e57d /graphics/findimagedupes
parentb62bf95ab2139efacd46e8e3b12ce8ac4f67e829 (diff)
graphics/findimagedupes: Updated for version 2.19.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'graphics/findimagedupes')
-rw-r--r--graphics/findimagedupes/findimagedupes.SlackBuild13
-rw-r--r--graphics/findimagedupes/findimagedupes.info6
2 files changed, 10 insertions, 9 deletions
diff --git a/graphics/findimagedupes/findimagedupes.SlackBuild b/graphics/findimagedupes/findimagedupes.SlackBuild
index 9519209a71351..1f0d89034bb39 100644
--- a/graphics/findimagedupes/findimagedupes.SlackBuild
+++ b/graphics/findimagedupes/findimagedupes.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=findimagedupes
-VERSION=${VERSION:-2.18}
+VERSION=${VERSION:-2.19}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@@ -20,12 +20,13 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
+rm -rf $PKG $TMP/$PRGNAM
+mkdir -p $TMP/$PRGNAM $PKG $OUTPUT
+cd $TMP/$PRGNAM
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+# 2.18 has an enclosing dir in the tarball, 2.19 doesn't, this worx with both:
+[ -d $PRGNAM-$VERSION ] && cd $PRGNAM-$VERSION
chown -R root:root .
chmod 644 *
@@ -41,7 +42,7 @@ pod2man -s1 --stderr -cSlackBuilds.org -r$VERSION $PRGNAM | \
gzip -9c > $PKG/usr/man/man1/$PRGNAM.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README COPYING history $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README* COPYING history $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/findimagedupes/findimagedupes.info b/graphics/findimagedupes/findimagedupes.info
index 2b79d0ddf530f..dd45db199dd50 100644
--- a/graphics/findimagedupes/findimagedupes.info
+++ b/graphics/findimagedupes/findimagedupes.info
@@ -1,8 +1,8 @@
PRGNAM="findimagedupes"
-VERSION="2.18"
+VERSION="2.19"
HOMEPAGE="http://www.jhnc.org/findimagedupes/"
-DOWNLOAD="http://www.jhnc.org/findimagedupes/findimagedupes-2.18.tar.gz"
-MD5SUM="5c353c6e4611e194114d4192c32c6adb"
+DOWNLOAD="http://www.jhnc.org/findimagedupes/findimagedupes-2.19.tar.gz"
+MD5SUM="24886738644e77cb20d78f56f7178ef8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-Inline-C perl-file-mimeinfo GraphicsMagick"