diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-08-04 14:45:37 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | f21ae975846cda9de7916e2d2c19068533e924be (patch) | |
tree | 7dcf99274feae4c76fe61019a89cd5ef6469a0e1 /graphics/tuxpaint/tuxpaint.SlackBuild | |
parent | 4cb2dba1c39c0f00180e609e7c08975d5b8630b3 (diff) |
graphics/tuxpaint: Updated for version 0.9.22.
Fixes build failure with libpng16 on -current.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/tuxpaint/tuxpaint.SlackBuild')
-rw-r--r-- | graphics/tuxpaint/tuxpaint.SlackBuild | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/graphics/tuxpaint/tuxpaint.SlackBuild b/graphics/tuxpaint/tuxpaint.SlackBuild index d24376e28336a..b85f267b735e6 100644 --- a/graphics/tuxpaint/tuxpaint.SlackBuild +++ b/graphics/tuxpaint/tuxpaint.SlackBuild @@ -6,8 +6,8 @@ # Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org> PRGNAM=tuxpaint -VERSION=${VERSION:-0.9.21} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.9.22} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -47,25 +47,19 @@ 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 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Create a more util Makefile +# Create a more useful Makefile patch -p1 < $CWD/patch.diff -# Explicitly link libpng -sed -i 's/$(ARCH_LINKS)/$(ARCH_LINKS) -lpng/' Makefile - make PREFIX=/usr LIBDIRSUFFIX=$LIBDIRSUFFIX OPTFLAGS="$SLKCFLAGS" make PREFIX=/usr LIBDIRSUFFIX=$LIBDIRSUFFIX DESTDIR=$PKG install mv $PKG/etc/tuxpaint/tuxpaint.conf $PKG/etc/tuxpaint/tuxpaint.conf.new -# Puzzle plugin is broken -rm -f $PKG/usr/lib64/tuxpaint/plugins/puzzle.so - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |