diff options
author | Tim Dickson <dickson.tim@googlemail.com> | 2022-06-17 22:27:36 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-06-18 09:10:00 +0700 |
commit | 3ae0863347199b10b9743a6f3053e9d1b5d97760 (patch) | |
tree | c0be24b755672a3c92fcb522b940f9bbd6faf195 /graphics/tuxpaint/tuxpaint.SlackBuild | |
parent | 309eace78a7c2bbbeb9b44bde270be3bbb5dbbfb (diff) |
graphics/tuxpaint: Updated for version 0.9.28.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/tuxpaint/tuxpaint.SlackBuild')
-rw-r--r-- | graphics/tuxpaint/tuxpaint.SlackBuild | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/graphics/tuxpaint/tuxpaint.SlackBuild b/graphics/tuxpaint/tuxpaint.SlackBuild index 560bd9b0dfa9..57e3881741c7 100644 --- a/graphics/tuxpaint/tuxpaint.SlackBuild +++ b/graphics/tuxpaint/tuxpaint.SlackBuild @@ -11,12 +11,13 @@ # - update for v0.9.27 and config v0.0.18. # - fix parallel builds. # - stop spamming the real /usr (ugh). +# 20220610 tim dickson: updated to 0.9.28 . sticking with sdl1 version for now cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tuxpaint -VERSION=${VERSION:-0.9.27} -CONFVER=${CONFVER:-0.0.18} +VERSION=${VERSION:-0.9.28} +CONFVER=${CONFVER:-0.0.19} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -58,9 +59,12 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION +rm -rf $PRGNAM-$VERSION-sdl1 rm -rf $PRGNAM-config-$CONFVER -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION-sdl1.tar.gz +cd $PRGNAM-$VERSION-sdl1 +#prevent out-of-tree file if inkscape is installed +export INKSCAPE_PROFILE_DIR=${pwd}/.tmp.inkscape chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -111,6 +115,8 @@ cd $PRGNAM-config-$CONFVER # 20220226 bkw: fix parallel builds. mkdir trans +#fix X11 location +sed -i 's_X11R6/i_/i_g' Makefile make PREFIX=/usr LIBDIRSUFFIX=$LIBDIRSUFFIX OPTFLAGS="$SLKCFLAGS" make \ @@ -124,7 +130,10 @@ make \ install strip $PKG/usr/bin/tuxpaint{,-config} $PKG/usr/lib*/tuxpaint/plugins/*.so - +#fix permissions +chmod 0644 $PKG/usr/man/*/*/tuxpaint.1.gz +chmod 0644 $PKG/usr/man/man1/*.gz +find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \+ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |