summaryrefslogtreecommitdiff
path: root/source/xap/pan/pan.SlackBuild
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2021-11-06 20:24:12 +0000
committerEric Hameleers <alien@slackware.com>2021-11-07 03:00:02 +0100
commitbd953aa8c3d07ab46316ac6b5af07721202faf16 (patch)
tree355a1498a3818b9080019966f56bad4111d327b9 /source/xap/pan/pan.SlackBuild
parentbda0a08bfe7825d51ae2daad4d2f3d2be82220ba (diff)
downloadcurrent-bd953aa8c3d07ab46316ac6b5af07721202faf16.tar.gz
Sat Nov 6 20:24:12 UTC 202120211106202412
a/kernel-generic-5.15.1-x86_64-1.txz: Upgraded. a/kernel-huge-5.15.1-x86_64-1.txz: Upgraded. a/kernel-modules-5.15.1-x86_64-1.txz: Upgraded. ap/ksh93-20211105_77827c5-x86_64-1.txz: Upgraded. Switched to ksh93u+m. Thanks to aikempshall and GazL. d/kernel-headers-5.15.1-x86-1.txz: Upgraded. k/kernel-source-5.15.1-noarch-1.txz: Upgraded. l/libxml2-2.9.12-x86_64-4.txz: Rebuilt. Patched to fix python3 unicode errors. Thanks to Daedra. l/python-pycparser-2.21-x86_64-1.txz: Upgraded. l/vte-0.66.1-x86_64-1.txz: Upgraded. tcl/tcl-8.6.12-x86_64-1.txz: Upgraded. tcl/tk-8.6.12-x86_64-1.txz: Upgraded. xap/pan-0.148-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/xap/pan/pan.SlackBuild')
-rwxr-xr-xsource/xap/pan/pan.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/xap/pan/pan.SlackBuild b/source/xap/pan/pan.SlackBuild
index 0fd7b9c1..dc71077a 100755
--- a/source/xap/pan/pan.SlackBuild
+++ b/source/xap/pan/pan.SlackBuild
@@ -23,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=pan
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | cut -d - -f 2 | rev | cut -f 3- -d . | rev)}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | cut -d - -f 2 | rev | cut -f 3- -d . | rev | tr -d v)}
BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
@@ -63,9 +63,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}-v${VERSION}
+tar xvf $CWD/${PKGNAM}-v$VERSION.tar.?z || exit 1
+cd ${PKGNAM}-v$VERSION || exit 1
# Make sure ownerships and permissions are sane:
chown -R root:root .