diff options
Diffstat (limited to 'graphics/webp-pixbuf-loader')
-rw-r--r-- | graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild | 15 | ||||
-rw-r--r-- | graphics/webp-pixbuf-loader/webp-pixbuf-loader.info | 6 |
2 files changed, 13 insertions, 8 deletions
diff --git a/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild index 32beb61370b60..c5d16b6a53f20 100644 --- a/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild +++ b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild @@ -6,10 +6,15 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20210910 bkw: upstream finally started doing releases! +# - upgrade for v0.0.3 +# - include LICENSE in DOCDIR +# - include 2 test .webp images in DOCDIR + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=webp-pixbuf-loader -VERSION=${VERSION:-20191003.fb04954} +VERSION=${VERSION:-0.0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -22,9 +27,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 @@ -54,7 +56,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z cd $PRGNAM-$VERSION chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ @@ -80,9 +82,12 @@ cd build DESTDIR=$PKG $NINJA install cd .. +# 20210910 bkw: upstream added a README.md, but it's just +# install instructions. DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $DOCDIR cat $CWD/README > $DOCDIR/README +cp -a LICENSE* tests/*.webp $DOCDIR cat $CWD/$PRGNAM.SlackBuild > $DOCDIR/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/graphics/webp-pixbuf-loader/webp-pixbuf-loader.info b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.info index 2e575782ca198..737550c0cbd4d 100644 --- a/graphics/webp-pixbuf-loader/webp-pixbuf-loader.info +++ b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.info @@ -1,8 +1,8 @@ PRGNAM="webp-pixbuf-loader" -VERSION="20191003.fb04954" +VERSION="0.0.3" HOMEPAGE="https://github.com/aruiz/webp-pixbuf-loader" -DOWNLOAD="https://slackware.uk/~urchlay/src/webp-pixbuf-loader-20191003.fb04954.tar.xz" -MD5SUM="d3e9041ab56b18020c647dcb9f3176d4" +DOWNLOAD="https://github.com/aruiz/webp-pixbuf-loader/archive/0.0.3/webp-pixbuf-loader-0.0.3.tar.gz" +MD5SUM="66ed64b8ebb70efef26c233876e8bd74" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |