summaryrefslogtreecommitdiffstats
path: root/source/a/mt-st
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2023-05-02 19:18:05 +0000
committer Eric Hameleers <alien@slackware.com>2023-05-02 22:33:40 +0200
commit8c29b57243e3f992f1f2468b6880cf7f6437495f (patch)
tree7892b381cc97e9807cb5e32b5ed3ee86ea1be40b /source/a/mt-st
parent01f5c1cc791c79e9919a859891ede7d2f4a62ad1 (diff)
downloadcurrent-8c29b57243e3f992f1f2468b6880cf7f6437495f.tar.gz
current-8c29b57243e3f992f1f2468b6880cf7f6437495f.tar.xz
Tue May 2 19:18:05 UTC 202320230502191805
a/cpio-2.14-x86_64-1.txz: Upgraded. a/hwdata-0.370-noarch-1.txz: Upgraded. a/mt-st-1.7-x86_64-1.txz: Upgraded. a/sysvinit-3.07-x86_64-1.txz: Upgraded. a/upower-1.90.0-x86_64-2.txz: Rebuilt. hwdb.d and rules.d belong in /lib/udev, not /usr. Thanks to oneforall. kde/kid3-3.9.3-x86_64-3.txz: Rebuilt. Rebuilt using -DWITH_NO_MANCOMPRESS=ON. Thanks to marav. l/gnu-efi-3.0.17-x86_64-1.txz: Upgraded. l/libiodbc-3.52.16-x86_64-1.txz: Upgraded. l/libusb-compat-0.1.8-x86_64-1.txz: Upgraded. l/opus-1.4-x86_64-1.txz: Upgraded. x/ibus-hangul-1.5.5-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/a/mt-st')
-rwxr-xr-xsource/a/mt-st/mt-st.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/a/mt-st/mt-st.SlackBuild b/source/a/mt-st/mt-st.SlackBuild
index d1d4140eb..f872d1bcd 100755
--- a/source/a/mt-st/mt-st.SlackBuild
+++ b/source/a/mt-st/mt-st.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2010, 2018, 2023 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=mt-st
-VERSION=${VERSION:-1.4}
-BUILD=${BUILD:-3}
+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:
if [ -z "$ARCH" ]; then
@@ -66,7 +66,7 @@ mkdir -p $TMP $PKG
cd $TMP
rm -rf mt-st-$VERSION
-tar xvf $CWD/mt-st-$VERSION.tar.xz
+tar xvf $CWD/mt-st-$VERSION.tar.?z
cd mt-st-$VERSION
chown -R root:root .