diff options
Diffstat (limited to 'development/apitrace/apitrace.SlackBuild')
-rw-r--r-- | development/apitrace/apitrace.SlackBuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/development/apitrace/apitrace.SlackBuild b/development/apitrace/apitrace.SlackBuild index 85e581110ea9e..95eb24f580ab5 100644 --- a/development/apitrace/apitrace.SlackBuild +++ b/development/apitrace/apitrace.SlackBuild @@ -27,8 +27,6 @@ VERSION=${VERSION:-2017.11.20_19c33cb} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -COMMIT=${COMMIT:-19c33cbcba64a8b28a1607d88fd1f15ba2ac3471} - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -61,9 +59,9 @@ set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$COMMIT -tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz -cd $PRGNAM-$COMMIT +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |