diff options
-rw-r--r-- | libraries/gumbo-parser/gumbo-parser.SlackBuild | 15 | ||||
-rw-r--r-- | libraries/gumbo-parser/gumbo-parser.info | 8 |
2 files changed, 14 insertions, 9 deletions
diff --git a/libraries/gumbo-parser/gumbo-parser.SlackBuild b/libraries/gumbo-parser/gumbo-parser.SlackBuild index 4e25a2efaa90..10807fe1a66a 100644 --- a/libraries/gumbo-parser/gumbo-parser.SlackBuild +++ b/libraries/gumbo-parser/gumbo-parser.SlackBuild @@ -7,14 +7,19 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20241109 bkw: update for v0.12.1, which is a fork by a different +# upstream. the original project's README says "project has been +# unmaintained since 2016 and should not be used". using a self-hosted +# copy of the release tarball to avoid content-disposition shenanigans. + # 20240905 bkw: # - new maintainer. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gumbo-parser -VERSION=${VERSION:-0.10.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.12.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -54,9 +59,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION +rm -rf $PRGNAM tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +cd $PRGNAM chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + @@ -77,7 +82,7 @@ rm -f $PKG/usr/lib*/*.la PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKGDOC -cp -a *.md COPYING THANKS $PKGDOC +cp -a *.md doc/* $PKGDOC cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/gumbo-parser/gumbo-parser.info b/libraries/gumbo-parser/gumbo-parser.info index 834a4e052b77..4d7c32aeec36 100644 --- a/libraries/gumbo-parser/gumbo-parser.info +++ b/libraries/gumbo-parser/gumbo-parser.info @@ -1,8 +1,8 @@ PRGNAM="gumbo-parser" -VERSION="0.10.1" -HOMEPAGE="https://github.com/google/gumbo-parser" -DOWNLOAD="https://github.com/google/gumbo-parser/archive/v0.10.1/gumbo-parser-0.10.1.tar.gz" -MD5SUM="c6f75c9eda65e897c242f8958a34aed0" +VERSION="0.12.1" +HOMEPAGE="https://codeberg.org/grisha/gumbo-parser" +DOWNLOAD="https://slackware.uk/~urchlay/src/gumbo-parser-0.12.1.tar.gz" +MD5SUM="f3770a145559f5d698bfb74cc7658777" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |