summaryrefslogtreecommitdiff
path: root/source/a
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2021-02-12 21:42:42 +0000
committerEric Hameleers <alien@slackware.com>2021-02-13 08:59:53 +0100
commitb42f8218340fdcd1b4f0e65cce5b416b6bab24fd (patch)
treeb5d0d0b985f4e231002bd2eeb7979799a6e7ac95 /source/a
parent8d820ab5b45854c19e5f938d63bfd0bfd9335872 (diff)
downloadcurrent-b42f8218340fdcd1b4f0e65cce5b416b6bab24fd.tar.gz
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')
-rwxr-xr-xsource/a/inih/inih.SlackBuild11
-rwxr-xr-xsource/a/util-linux/util-linux.SlackBuild2
2 files changed, 7 insertions, 6 deletions
diff --git a/source/a/inih/inih.SlackBuild b/source/a/inih/inih.SlackBuild
index 698de302..85e808be 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 . \
diff --git a/source/a/util-linux/util-linux.SlackBuild b/source/a/util-linux/util-linux.SlackBuild
index 3c33fe58..1467bc42 100755
--- a/source/a/util-linux/util-linux.SlackBuild
+++ b/source/a/util-linux/util-linux.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=util-linux
VERSION=${VERSION:-$(echo util-linux*.tar.xz | cut -d - -f 3 | rev | cut -f 3- -d . | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
ADJTIMEXVERS=1.29
SETSERIALVERS=2.17