summaryrefslogtreecommitdiff
path: root/pcr/gimp-toolkit-gps
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/gimp-toolkit-gps')
-rw-r--r--pcr/gimp-toolkit-gps/PKGBUILD53
1 files changed, 53 insertions, 0 deletions
diff --git a/pcr/gimp-toolkit-gps/PKGBUILD b/pcr/gimp-toolkit-gps/PKGBUILD
new file mode 100644
index 000000000..9f5784608
--- /dev/null
+++ b/pcr/gimp-toolkit-gps/PKGBUILD
@@ -0,0 +1,53 @@
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+
+pkgname=gimp-toolkit-gps
+_pkgname=${pkgname:13}
+_reqname=${pkgname::4}
+pkgver=2.0
+_pkgver=${pkgver/./_}
+pkgrel=1
+_pkgsrc1=${_pkgname^^}%20$_pkgver%20final
+_pkgsrc2=${_pkgname^^}%20extras
+pkgdesc='GIMP Paint Studio is a collection of brushes and accompanying tool presets. highly useful feature of the GIMP.'
+arch=any
+license=(
+ GPL2
+ CCPL:by-sa
+)
+url=https://code.google.com/p/$_pkgname-gimp-paint-studio
+depends=gimp
+conflicts=${pkgname/kit/set}
+replaces=${pkgname/kit/set}
+makedepends=unzip-libre
+noextract=(
+ $_pkgsrc1.zip
+ $_pkgsrc2.zip
+)
+source=(
+ https://$_pkgname-gimp-paint-studio.googlecode.com/files/$_pkgsrc1.zip
+ https://$_pkgname-gimp-paint-studio.googlecode.com/files/$_pkgsrc2.zip
+)
+sha512sums=(
+ b06016eab194db7862590940c6fb7e9c14bbb6d3ce83c2b85293da2c75ecf8b9e64585a38f749da36d63e2711a25a0073415568f10be4b997120d93ba2b5c112
+ c3ef322898299bde60f2c8e29ebdd5fa47236f6b2859bf5d3d01a92290e1ad888ba71b0813f7325921c87bf57632cf794da31e8ccab0c46cb020be52d2c1135f
+)
+
+prepare() {
+ a=$srcdir/$_pkgname-$pkgver
+ mkdir $a
+ unzip $srcdir/$_pkgsrc1.zip -d $a
+ unzip $srcdir/$_pkgsrc2.zip -d $a
+ # drop useless splashes
+ rm -v $a/splashes/* && rmdir -v $a/splashes
+ # fix perm for custom umask
+ find $srcdir/$_pkgname-$pkgver -type d -exec chmod 0755 -R {} \; &&\
+ find $srcdir/$_pkgname-$pkgver -type f -exec chmod 0644 -R {} \;
+}
+
+package() {
+ b=$pkgdir/usr/share/gimp/2.0
+ install -d $b
+ cp -va $srcdir/$_pkgname-$pkgver/* $b
+}
+
+# vim:set ts=2 sw=2 et: