aboutsummaryrefslogtreecommitdiff
path: root/graphics/tuxpaint-stamps
diff options
context:
space:
mode:
authorTim Dickson <dickson.tim@googlemail.com>2023-04-08 00:15:12 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-08 09:16:28 +0700
commitd745137a41fdc167fd85bd47955a961ef7e3ef4f (patch)
treee0ce8edd4665c740962ac4a101c628f4896756fd /graphics/tuxpaint-stamps
parenta106db46ea9bc57035ec9b56cf4c8df39948b410 (diff)
graphics/tuxpaint-stamps: Updated for version 2023.04.02.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/tuxpaint-stamps')
-rw-r--r--graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild22
-rw-r--r--graphics/tuxpaint-stamps/tuxpaint-stamps.info6
2 files changed, 17 insertions, 11 deletions
diff --git a/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild b/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild
index 0a97ffcdcdf97..9ce52acf38cce 100644
--- a/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild
+++ b/graphics/tuxpaint-stamps/tuxpaint-stamps.SlackBuild
@@ -8,7 +8,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tuxpaint-stamps
-VERSION=${VERSION:-2022.06.04}
+VERSION=${VERSION:-2023.04.02}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -32,8 +32,19 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+#the "source" is just data which needs copying to the right place.
+#we'll extract it directly and remove the junk to save copying twice
+mkdir -p $PKG/usr/share/tuxpaint
+cd $PKG/usr/share/tuxpaint
+tar -xv --strip-components=1 --exclude='macos' --exclude='po' --exclude='androi*' --exclude='win32' -f $CWD/$PRGNAM-$VERSION.tar.gz
+#clean up extras we don't need
+rm -f *.sh *.spec Makefile
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a docs/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
+#remove docs from wrong place
+rm -rf docs
+#lets fix permisions
+cd $PKG
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -41,11 +52,6 @@ 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 {} \;
-#the "source" is just data which needs copying to the right place.
-mkdir -p $PKG/usr/share/tuxpaint
-cp -ar stamps $PKG/usr/share/tuxpaint/
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a docs/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/tuxpaint-stamps/tuxpaint-stamps.info b/graphics/tuxpaint-stamps/tuxpaint-stamps.info
index 06befc0a044c1..aaf1a9cae2d00 100644
--- a/graphics/tuxpaint-stamps/tuxpaint-stamps.info
+++ b/graphics/tuxpaint-stamps/tuxpaint-stamps.info
@@ -1,8 +1,8 @@
PRGNAM="tuxpaint-stamps"
-VERSION="2022.06.04"
+VERSION="2023.04.02"
HOMEPAGE="http://www.tuxpaint.org"
-DOWNLOAD="http://downloads.sourceforge.net/tuxpaint/tuxpaint-stamps-2022.06.04.tar.gz"
-MD5SUM="2d40aa001b3b1abe4bca8c83e734983f"
+DOWNLOAD="http://downloads.sourceforge.net/tuxpaint/tuxpaint-stamps-2023.04.02.tar.gz"
+MD5SUM="910fe12e9d1626b901765be0ce0cbabc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""