diff --git a/graphics/findimagedupes/findimagedupes.SlackBuild b/graphics/findimagedupes/findimagedupes.SlackBuild index 9519209a71..1f0d89034b 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 2b79d0ddf5..dd45db199d 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"