diff options
author | Gerardo Zamudio <gerardo.zamudio@linux.com> | 2023-05-19 16:02:50 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-20 11:17:26 +0700 |
commit | 817a085694c51e4e9bbd590199cefe8dab4b085b (patch) | |
tree | 748f33e49da20558ca1b6023768a66a5251460cc /libraries/luasocket | |
parent | b151d91acca0f96ee46f765a77b6d51a2aba4f54 (diff) |
libraries/luasocket: Updated for version 3.1.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/luasocket')
-rw-r--r-- | libraries/luasocket/luasocket.SlackBuild | 13 | ||||
-rw-r--r-- | libraries/luasocket/luasocket.info | 8 |
2 files changed, 11 insertions, 10 deletions
diff --git a/libraries/luasocket/luasocket.SlackBuild b/libraries/luasocket/luasocket.SlackBuild index 2c74eb90894ea..9edcb452b0f49 100644 --- a/libraries/luasocket/luasocket.SlackBuild +++ b/libraries/luasocket/luasocket.SlackBuild @@ -5,6 +5,8 @@ # Copyright 2013-2014, Andrew Tkalia <anddt@yandex.ua>, Ukraine, Kyiv # All rights reserved. # +# Maintained by Gerardo Zamudio <gerardo.zamudio@linux.com> +# # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # @@ -25,8 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=luasocket -VERSION=${VERSION:-3.0_rc1} -SRCVER=3.0-rc1 +VERSION=${VERSION:-3.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -70,9 +71,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 \ @@ -89,7 +90,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a doc/*.* FIX LICENSE NEW README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a docs/*.* FIX LICENSE CHANGELOG.md README.md $PKG/usr/doc/$PRGNAM-$VERSION for i in samples etc test ; do tar zcvf $PKG/usr/doc/$PRGNAM-$VERSION/$i.tar.gz $i done diff --git a/libraries/luasocket/luasocket.info b/libraries/luasocket/luasocket.info index 55cc90fdd5938..1248db110b6d9 100644 --- a/libraries/luasocket/luasocket.info +++ b/libraries/luasocket/luasocket.info @@ -1,8 +1,8 @@ PRGNAM="luasocket" -VERSION="3.0_rc1" -HOMEPAGE="https://github.com/diegonehab/luasocket" -DOWNLOAD="https://github.com/diegonehab/luasocket/archive/v3.0-rc1/luasocket-3.0-rc1.tar.gz" -MD5SUM="08bd2f265b244eb4bf5c2c36bf89b759" +VERSION="3.1.0" +HOMEPAGE="https://lunarmodules.github.io/luasocket/" +DOWNLOAD="https://github.com/lunarmodules/luasocket/archive/v3.1.0/luasocket-3.1.0.tar.gz" +MD5SUM="abeca2891168914b57460b0ba9f9090f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="lua" |