diff options
Diffstat (limited to 'libraries/libyang/libyang.SlackBuild')
-rw-r--r-- | libraries/libyang/libyang.SlackBuild | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/libraries/libyang/libyang.SlackBuild b/libraries/libyang/libyang.SlackBuild index 7cafc85c8c241..89ee182434342 100644 --- a/libraries/libyang/libyang.SlackBuild +++ b/libraries/libyang/libyang.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libyang -# Copyright 2019 Thibaut Notteboom, Paris, FRANCE +# Copyright 2019-2020 Thibaut Notteboom, Paris, FRANCE # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,15 +22,11 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# 20200103 bkw: Modified by Slackbuilds.org: VERSION can't contain hyphens. - PRGNAM=libyang -VERSION=${VERSION:-0.16_r3} +VERSION=${VERSION:-1.0.167} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCVER=${VERSION/_/-} - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -63,9 +59,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRCVER -tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz -cd $PRGNAM-$SRCVER +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |