From 8999fa1750304fb2367fb7743e49e013405e88be Mon Sep 17 00:00:00 2001 From: root Date: Sat, 25 Jun 2011 23:07:08 +0000 Subject: Sat Jun 25 23:07:08 UTC 2011 --- extra/gimp-dbp/PKGBUILD | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) (limited to 'extra/gimp-dbp') diff --git a/extra/gimp-dbp/PKGBUILD b/extra/gimp-dbp/PKGBUILD index 9cec2e706..f09db2f20 100644 --- a/extra/gimp-dbp/PKGBUILD +++ b/extra/gimp-dbp/PKGBUILD @@ -1,26 +1,25 @@ -# $Id: PKGBUILD 37038 2009-04-30 05:11:53Z eric $ +# $Id: PKGBUILD 128499 2011-06-24 05:56:11Z eric $ # Maintainer: tobias # Contributor: Tobias Kieslich pkgname=gimp-dbp -_srcname=dbp pkgver=1.1.9 -pkgrel=1 +pkgrel=2 pkgdesc="David's batch processor for the GIMP" -arch=(i686 x86_64) -license=('GPL') -depends=('gimp>=2.4') +arch=('i686' 'x86_64') url="http://members.ozemail.com.au/~hodsond/dbp.html" -source=(http://www.ozemail.com.au/~hodsond/${_srcname}Src-${pkgver//./-}.tgz) +license=('GPL') +depends=('gimp') +source=(http://www.ozemail.com.au/~hodsond/dbpSrc-${pkgver//./-}.tgz) md5sums=('1106625707798ab8ea1317ac6bece1c5') build() { - cd ${srcdir}/${_srcname}-${pkgver} - # Tweak Makefile -- remove auto-install - sed -i 's|^\tgimptool.*$||' Makefile || return 1 - sed -i "s|||" 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 + cd "${srcdir}/dbp-${pkgver}" + sed -i "s|||" op.h + make +} + +package() { + cd "${srcdir}/dbp-${pkgver}" + install -D -m755 dbp "${pkgdir}/usr/lib/gimp/2.0/plug-ins/dbp" } -- cgit v1.2.3-54-g00ecf