diff options
author | 2023-07-28 20:28:31 +0900 | |
---|---|---|
committer | 2023-07-28 21:02:47 +0900 | |
commit | 6843f49c148761c960338a6742226eab83eb719a (patch) | |
tree | 6c56ca5112d1000e6e1dcb105767617fd07266a2 | |
parent | 594b69fb89de427383205a96d570046e6a6e8591 (diff) | |
download | slackbuilds-6843f49c148761c960338a6742226eab83eb719a.tar.gz slackbuilds-6843f49c148761c960338a6742226eab83eb719a.tar.xz |
libraries/tuxpaint-stamps: Updated for version 2023.07.20.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
-rw-r--r-- | libraries/tuxpaint-stamps/README | 4 | ||||
-rw-r--r-- | libraries/tuxpaint-stamps/slack-desc | 19 | ||||
-rw-r--r-- | libraries/tuxpaint-stamps/tuxpaint-stamps.SlackBuild | 61 | ||||
-rw-r--r-- | libraries/tuxpaint-stamps/tuxpaint-stamps.info | 10 |
4 files changed, 94 insertions, 0 deletions
diff --git a/libraries/tuxpaint-stamps/README b/libraries/tuxpaint-stamps/README new file mode 100644 index 0000000000..1de24a143c --- /dev/null +++ b/libraries/tuxpaint-stamps/README @@ -0,0 +1,4 @@ +Rubber stamps collection for Tux Paint. + +This package contains a set of 'Rubber Stamp' images which can be used +with the "Stamp" tool within Tux Paint. diff --git a/libraries/tuxpaint-stamps/slack-desc b/libraries/tuxpaint-stamps/slack-desc new file mode 100644 index 0000000000..8be1907b09 --- /dev/null +++ b/libraries/tuxpaint-stamps/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +tuxpaint-stamps: tuxpaint-stamps (Rubber stamps collection for Tux Paint) +tuxpaint-stamps: +tuxpaint-stamps: This package contains a set of 'Rubber Stamp' images which can be +tuxpaint-stamps: used with the "Stamp" tool within Tux Paint. +tuxpaint-stamps: +tuxpaint-stamps: +tuxpaint-stamps: +tuxpaint-stamps: +tuxpaint-stamps: +tuxpaint-stamps: +tuxpaint-stamps: diff --git a/libraries/tuxpaint-stamps/tuxpaint-stamps.SlackBuild b/libraries/tuxpaint-stamps/tuxpaint-stamps.SlackBuild new file mode 100644 index 0000000000..c178cf47aa --- /dev/null +++ b/libraries/tuxpaint-stamps/tuxpaint-stamps.SlackBuild @@ -0,0 +1,61 @@ +#!/bin/bash + +# Slackware build script for tuxpaint-stamps + +# Written by Pablo Santamaria (pablosantamaria@gmail.com) +# updated by Tim Dickson (dickson.tim@googlemail.com) + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=tuxpaint-stamps +VERSION=${VERSION:-2023.07.20} +ARCH=noarch +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $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 \ + -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 {} \; + +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/libraries/tuxpaint-stamps/tuxpaint-stamps.info b/libraries/tuxpaint-stamps/tuxpaint-stamps.info new file mode 100644 index 0000000000..844e2cbe5d --- /dev/null +++ b/libraries/tuxpaint-stamps/tuxpaint-stamps.info @@ -0,0 +1,10 @@ +PRGNAM="tuxpaint-stamps" +VERSION="2023.07.20" +HOMEPAGE="http://www.tuxpaint.org" +DOWNLOAD="http://downloads.sourceforge.net/tuxpaint/tuxpaint-stamps-2023.07.20.tar.gz" +MD5SUM="1e16772c4cd59bdd2b0251ea5343d05c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Tim Dickson" +EMAIL="dickson.tim@googlemail.com" |