diff options
author | Alexander Verbovetsky <alik@ejik.org> | 2024-03-01 21:30:17 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-03-01 22:48:33 +0700 |
commit | 47a63c10461892fd47a1e88d7ddf472fe63c4cd7 (patch) | |
tree | a064af2b09048255eff08d5c8e4612cc8e490c69 /libraries/lua-lpeg | |
parent | a30d378061a165cbe68dbfb9cc2192aa4ee551e0 (diff) |
libraries/lua-lpeg: Updated for version 1.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/lua-lpeg')
-rw-r--r-- | libraries/lua-lpeg/lua-lpeg.SlackBuild | 22 | ||||
-rw-r--r-- | libraries/lua-lpeg/lua-lpeg.info | 10 |
2 files changed, 15 insertions, 17 deletions
diff --git a/libraries/lua-lpeg/lua-lpeg.SlackBuild b/libraries/lua-lpeg/lua-lpeg.SlackBuild index 14d9a9d1e160..b6771369dfde 100644 --- a/libraries/lua-lpeg/lua-lpeg.SlackBuild +++ b/libraries/lua-lpeg/lua-lpeg.SlackBuild @@ -2,6 +2,7 @@ # SlackBuild script for lua-lpeg +# Copyright 2024 Alexander Verbovetsky, Moscow, Russia # Copyright 2021 Ruben Schuller <sb@rbn.im> # Copyright 2014-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. @@ -27,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lua-lpeg SRCNAM=lpeg -VERSION=${VERSION:-1.0.2} +VERSION=${VERSION:-1.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +41,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -78,20 +76,20 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; for v in "" "5.2" "5.3"; do - _pkgconfigv=$(echo $v | tr --delete .) - if pkg-config --exists lua$_pkgconfigv; then - make LUADIR=/usr/include/lua${v}/ - install -m 0755 -D lpeg.so $PKG/$(pkg-config --variable INSTALL_CMOD lua$_pkgconfigv)/lpeg.so - install -m 0644 -D re.lua $PKG/$(pkg-config --variable INSTALL_LMOD lua$_pkgconfigv)/re.lua - make clean - fi + _pkgconfigv=$(echo $v | tr --delete .) + if pkg-config --exists lua$_pkgconfigv; then + make LUADIR=/usr/include/lua${v}/ + install -m 0755 -D lpeg.so $PKG/$(pkg-config --variable INSTALL_CMOD lua$_pkgconfigv)/lpeg.so + install -m 0644 -D re.lua $PKG/$(pkg-config --variable INSTALL_LMOD lua$_pkgconfigv)/re.lua + make clean + fi done find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a HISTORY $PKG/usr/doc/$PRGNAM-$VERSION +cp -a HISTORY README.* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/lua-lpeg/lua-lpeg.info b/libraries/lua-lpeg/lua-lpeg.info index 4f5fd9285d59..62c752efd667 100644 --- a/libraries/lua-lpeg/lua-lpeg.info +++ b/libraries/lua-lpeg/lua-lpeg.info @@ -1,10 +1,10 @@ PRGNAM="lua-lpeg" -VERSION="1.0.2" +VERSION="1.1.0" HOMEPAGE="http://www.inf.puc-rio.br/~roberto/lpeg/" -DOWNLOAD="http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.2.tar.gz" -MD5SUM="d342571886f1abcb7afe6a83d024d583" +DOWNLOAD="https://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.1.0.tar.gz" +MD5SUM="842a538b403b5639510c9b6fffd2c75b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="lua" -MAINTAINER="Ruben Schuller" -EMAIL="sb@rbn.im" +MAINTAINER="Alexander Verbovetsky" +EMAIL="alik@ejik.org" |