diff options
author | klaatu <klaatu@member.fsf.org> | 2011-07-10 08:37:02 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-07-14 19:51:00 -0300 |
commit | 26bc370ad6a6e5cc9f8fa3952ca14300318291a8 (patch) | |
tree | 961d2d216304b4d0db7b9a2b377d04d4b6a243d8 /graphics/GPS/GPS.SlackBuild | |
parent | 7950fb70c363ccdab2740dded7a2ace22ec908b3 (diff) | |
download | slackbuilds-26bc370ad6a6e5cc9f8fa3952ca14300318291a8.tar.gz |
graphics/GPS: Added (GIMP Paint Studio)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'graphics/GPS/GPS.SlackBuild')
-rw-r--r-- | graphics/GPS/GPS.SlackBuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/graphics/GPS/GPS.SlackBuild b/graphics/GPS/GPS.SlackBuild new file mode 100644 index 0000000000..1d18826ba6 --- /dev/null +++ b/graphics/GPS/GPS.SlackBuild @@ -0,0 +1,46 @@ +#!/bin/sh + +# Slackware build script for GIMP Paint Studio + +# Written by klaatu +# klaatu at the domain of member.fsf.org + +PRGNAM=GPS +VERSION=${VERSION:-1_5} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ARCH="noarch" + +CWD=$(pwd) +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_final\ release.zip +unzip $CWD/$PRGNAM\ $VERSION\_final\ release.zip -d $TMP/$PRGNAM-$VERSION +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +mkdir -p $PKG/usr/share/gimp/2.0/ +cp -r brushes gradients palettes patterns tool-options $PKG/usr/share/gimp/2.0/ +cp *rc $PKG/usr/share/gimp/2.0/ + +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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |