summaryrefslogtreecommitdiffstats
path: root/source/a/inih
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-02-12 21:42:42 +0000
committer Eric Hameleers <alien@slackware.com>2021-02-13 08:59:53 +0100
commitb42f8218340fdcd1b4f0e65cce5b416b6bab24fd (patch)
treeb5d0d0b985f4e231002bd2eeb7979799a6e7ac95 /source/a/inih
parent8d820ab5b45854c19e5f938d63bfd0bfd9335872 (diff)
downloadcurrent-b42f8218340fdcd1b4f0e65cce5b416b6bab24fd.tar.gz
current-b42f8218340fdcd1b4f0e65cce5b416b6bab24fd.tar.xz
Fri Feb 12 21:42:42 UTC 202120210212214242
a/inih-53-x86_64-1.txz: Upgraded. a/kernel-firmware-20210211_f7915a0-noarch-1.txz: Upgraded. a/util-linux-2.36.2-x86_64-1.txz: Upgraded. d/binutils-2.36.1-x86_64-1.txz: Upgraded. d/oprofile-1.4.0-x86_64-6.txz: Rebuilt. Recompiled against binutils-2.36.1. kde/digikam-7.1.0-x86_64-4.txz: Rebuilt. Recompiled against imagemagick-7.0.10_62. l/glib2-2.66.7-x86_64-1.txz: Upgraded. l/openexr-2.5.5-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/a/inih')
-rwxr-xr-xsource/a/inih/inih.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/source/a/inih/inih.SlackBuild b/source/a/inih/inih.SlackBuild
index 698de302e..85e808bed 100755
--- a/source/a/inih/inih.SlackBuild
+++ b/source/a/inih/inih.SlackBuild
@@ -23,8 +23,9 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=inih
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+SRCVER=${SRCVER:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+VERSION=$(echo $SRCVER | tr -d r)
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -74,9 +75,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
-rm -rf $PKGNAM-$VERSION
-tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1
-cd $PKGNAM-$VERSION || exit 1
+rm -rf $PKGNAM-$SRCVER
+tar xvf $CWD/$PKGNAM-$SRCVER.tar.?z || exit 1
+cd $PKGNAM-$SRCVER || exit 1
chown -R root:root .
find . \