summaryrefslogtreecommitdiff
path: root/extra/gimp-dbp
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/gimp-dbp
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/gimp-dbp')
-rw-r--r--extra/gimp-dbp/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/gimp-dbp/PKGBUILD b/extra/gimp-dbp/PKGBUILD
new file mode 100644
index 000000000..9cec2e706
--- /dev/null
+++ b/extra/gimp-dbp/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 37038 2009-04-30 05:11:53Z eric $
+# Maintainer: tobias <tobias@archlinux.org>
+# Contributor: Tobias Kieslich <tobias@justdreams.de>
+
+pkgname=gimp-dbp
+_srcname=dbp
+pkgver=1.1.9
+pkgrel=1
+pkgdesc="David's batch processor for the GIMP"
+arch=(i686 x86_64)
+license=('GPL')
+depends=('gimp>=2.4')
+url="http://members.ozemail.com.au/~hodsond/dbp.html"
+source=(http://www.ozemail.com.au/~hodsond/${_srcname}Src-${pkgver//./-}.tgz)
+md5sums=('1106625707798ab8ea1317ac6bece1c5')
+
+build() {
+ cd ${srcdir}/${_srcname}-${pkgver}
+ # Tweak Makefile -- remove auto-install
+ sed -i 's|^\tgimptool.*$||' Makefile || return 1
+ sed -i "s|<string>|<cstring>|" op.h || return 1
+ #sed -i '/DISABLE_DEPRECATED/d' Makefile
+ # create gimp-2.0 plugin and install it
+ make ${_srcname} || return 1
+ install -Dsm755 ${_srcname} ${pkgdir}/usr/lib/gimp/2.0/plug-ins/${_srcname} || return 1
+}