|
|
|
@ -17,12 +17,13 @@ |
|
|
|
# 20230111 bkw: Modified by SlackBuilds.org: BUILD=4, just to force a |
|
|
|
# rebuild after libunibreak update to 5.1. |
|
|
|
# 20230407 tim: update to 0.9.29 and 0.0.20 |
|
|
|
# 20230519 tim: update to 0.9.30 and 0.0.21 |
|
|
|
|
|
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
PRGNAM=tuxpaint |
|
|
|
VERSION=${VERSION:-0.9.29} |
|
|
|
CONFVER=${CONFVER:-0.0.20} |
|
|
|
VERSION=${VERSION:-0.9.30} |
|
|
|
CONFVER=${CONFVER:-0.0.21} |
|
|
|
BUILD=${BUILD:-1} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
|
@ -83,7 +84,6 @@ mkdir trans |
|
|
|
# using the xdg-icon-resource and xdg-desktop-menu tools: these don't |
|
|
|
# support DESTDIR or any other way to control where the files get |
|
|
|
# installed (meaning they install to the real /usr, not $PKG/usr). |
|
|
|
|
|
|
|
sed -i '/^linux_ARCH_INSTALL/s,install-xdg ,,' Makefile |
|
|
|
|
|
|
|
make PREFIX=/usr LIBDIRSUFFIX=$LIBDIRSUFFIX OPTFLAGS="$SLKCFLAGS" |
|
|
|
@ -140,6 +140,9 @@ 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 |
|
|
|
#remove binary plugin examples that shouldn't be in doc, and unneeded install doc. |
|
|
|
rm -f $PKG/usr/doc/$PRGNAM-$VERSION/en/*.so $PKG/usr/doc/$PRGNAM-$VERSION/INSTALL.txt |
|
|
|
|
|
|
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |
|
|
|
|
|
|
|
mkdir -p $PKG/install |
|
|
|
|