diff options
author | B. Watson <yalhcru@gmail.com> | 2021-09-10 02:58:32 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:52:13 +0700 |
commit | eae06ac9ce72b18e979ee2cc5c91dcf26e91dfc3 (patch) | |
tree | 38d8a3480932eb758765a1ec53d52de75266dc13 /graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild | |
parent | 4f5ff784f826ae9d5457cc7b74751a7a3f2ebe51 (diff) | |
download | slackbuilds-eae06ac9ce72b18e979ee2cc5c91dcf26e91dfc3.tar.xz |
graphics/webp-pixbuf-loader: Updated for version 0.0.3.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild')
-rw-r--r-- | graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild index 32beb61370b6..c5d16b6a53f2 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 |