diff options
author | Tim Dickson <dickson.tim@googlemail.com> | 2018-09-02 20:36:22 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-09-08 08:37:39 +0700 |
commit | 39e31e8434d0a58e6cc50063fd3c470620f095fa (patch) | |
tree | 575fe8fdb1f356b66af3b273af977a8a070b03c9 /graphics/tuxpaint/tuxpaint.SlackBuild | |
parent | f77658c25883025fc92e594d7803297bfa3446f6 (diff) |
graphics/tuxpaint: Updated for version 0.9.23.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics/tuxpaint/tuxpaint.SlackBuild')
-rw-r--r-- | graphics/tuxpaint/tuxpaint.SlackBuild | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/graphics/tuxpaint/tuxpaint.SlackBuild b/graphics/tuxpaint/tuxpaint.SlackBuild index 5c8a0926192c8..41314b7256ebb 100644 --- a/graphics/tuxpaint/tuxpaint.SlackBuild +++ b/graphics/tuxpaint/tuxpaint.SlackBuild @@ -7,7 +7,7 @@ # Taken over maintenance (and some updates) by Tim Dickson (dickson.tim@googlemail.com) PRGNAM=tuxpaint -VERSION=${VERSION:-0.9.22} +VERSION=${VERSION:-0.9.23} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -53,21 +53,31 @@ find -L . \ \( -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 useful Makefile -patch -p1 < $CWD/patch.diff - make PREFIX=/usr LIBDIRSUFFIX=$LIBDIRSUFFIX OPTFLAGS="$SLKCFLAGS" -make PREFIX=/usr LIBDIRSUFFIX=$LIBDIRSUFFIX DESTDIR=$PKG install +make \ + MAN_PREFIX=$PKG/usr/man \ + DEVMAN_PREFIX=$PKG/usr/man \ + DOC_PREFIX=$PKG/usr/doc/$PRGNAM-$VERSION \ + DEVDOC_PREFIX=$PKG/usr/doc/$PRGNAM-$VERSION \ + PREFIX=/usr \ + LIBDIRSUFFIX=$LIBDIRSUFFIX \ + DESTDIR=$PKG \ + install + mv $PKG/etc/tuxpaint/tuxpaint.conf $PKG/etc/tuxpaint/tuxpaint.conf.new +mkdir -p $PKG/usr/share/applications +cp src/$PRGNAM.desktop $PKG/usr/share/applications/ + 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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |