From dfdfd82ff1fd9765b30f53a08727dfcd5a55941d Mon Sep 17 00:00:00 2001 From: Alexander Verbovetsky Date: Wed, 4 Jan 2017 08:37:20 +0700 Subject: academic/reduce-algrebra: Update DOWNLOAD url. Signed-off-by: Willy Sudiarto Raharjo --- academic/reduce-algebra/reduce-algebra.SlackBuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'academic/reduce-algebra/reduce-algebra.SlackBuild') diff --git a/academic/reduce-algebra/reduce-algebra.SlackBuild b/academic/reduce-algebra/reduce-algebra.SlackBuild index e8d448770c48a..27ba6c5e230fb 100644 --- a/academic/reduce-algebra/reduce-algebra.SlackBuild +++ b/academic/reduce-algebra/reduce-algebra.SlackBuild @@ -27,6 +27,8 @@ VERSION=${VERSION:-20161220svn3844} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +SRCNAM=Reduce-${VERSION:8}-src + SLACKVER=${SLACKVER:-$(cat /etc/slackware-version | tr --delete '[[:space:]]' | tr '[:upper:]' '[:lower:]')} if [ -z "$ARCH" ]; then @@ -61,9 +63,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $SRCNAM +tar xvf $CWD/$SRCNAM.tar.gz +cd $SRCNAM chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -- cgit v1.2.3