diff options
Diffstat (limited to 'source/xap/pan/pan.SlackBuild')
-rwxr-xr-x | source/xap/pan/pan.SlackBuild | 8 |
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 . |