summaryrefslogtreecommitdiffstats
path: root/source/l/exiv2/exiv2.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2023-11-06 20:15:40 +0000
committer Eric Hameleers <alien@slackware.com>2023-11-06 21:58:15 +0100
commit16aecb6aa38eaab548b9aece32c6aa72f59e80b2 (patch)
tree1884cb80e521ecc4371d6ca21e57921026f553b3 /source/l/exiv2/exiv2.SlackBuild
parentadd4749a747baa9b7050e8be595a0bf04bb2bd87 (diff)
downloadcurrent-16aecb6aa38eaab548b9aece32c6aa72f59e80b2.tar.gz
current-16aecb6aa38eaab548b9aece32c6aa72f59e80b2.tar.xz
Mon Nov 6 20:15:40 UTC 202320231106201540
a/btrfs-progs-6.6.1-x86_64-1.txz: Upgraded. d/mercurial-6.5.3-x86_64-1.txz: Upgraded. d/rust-bindgen-0.69.1-x86_64-1.txz: Upgraded. l/exiv2-0.28.1-x86_64-1.txz: Upgraded. l/jasper-4.0.1-x86_64-1.txz: Upgraded. x/fcitx5-5.1.4-x86_64-1.txz: Upgraded. xap/gimp-2.10.36-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l/exiv2/exiv2.SlackBuild')
-rwxr-xr-xsource/l/exiv2/exiv2.SlackBuild14
1 files changed, 4 insertions, 10 deletions
diff --git a/source/l/exiv2/exiv2.SlackBuild b/source/l/exiv2/exiv2.SlackBuild
index 49928b8b5..b3e0502d8 100755
--- a/source/l/exiv2/exiv2.SlackBuild
+++ b/source/l/exiv2/exiv2.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=exiv2
-VERSION=${VERSION:-$(echo $PKGNAM-*-Source.tar.?z | rev | cut -f 3- -d . | cut -f 2 -d - | rev)}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
@@ -68,10 +68,10 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
-rm -rf $PKGNAM-$VERSION-Source
+rm -rf $PKGNAM-$VERSION
-tar xvf $CWD/$PKGNAM-$VERSION-Source.tar.?z || exit 1
-cd $PKGNAM-$VERSION-Source || exit 1
+tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
+cd $PKGNAM-$VERSION || exit 1
chown -R root:root .
find . \
@@ -80,12 +80,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-# Upstream regression patches:
-cat $CWD/patches/16c1cd7d.patch | patch -p1 --verbose || exit 1
-cat $CWD/patches/3664f5b8.patch | patch -p1 --verbose || exit 1
-cat $CWD/patches/b4f435a4.patch | patch -p1 --verbose || exit 1
-cat $CWD/patches/f47e7bd6.patch | patch -p1 --verbose || exit 1
-
# Configure, build, and install:
mkdir cmake-build
cd cmake-build