diff options
Diffstat (limited to 'ham/spectools/spectools.SlackBuild')
-rw-r--r-- | ham/spectools/spectools.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ham/spectools/spectools.SlackBuild b/ham/spectools/spectools.SlackBuild index e0f0a778fcdf6..5f2d7aa06be30 100644 --- a/ham/spectools/spectools.SlackBuild +++ b/ham/spectools/spectools.SlackBuild @@ -23,10 +23,12 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=spectools -VERSION=${VERSION:-2016-01-R1} +VERSION=${VERSION:-2016_01_R1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +SRCVER=${VERSION//_/-} + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -59,9 +61,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$SRCVER +tar xvf $CWD/$PRGNAM-$SRCVER.tar.xz +cd $PRGNAM-$SRCVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |