summaryrefslogtreecommitdiff
path: root/extra/gimp-dbp/PKGBUILD
blob: 9a5ac46357ead2cded619efd9622c7a2bac9d6e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 128499 2011-06-24 05:56:11Z eric $
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>

pkgname=gimp-dbp
pkgver=1.1.9
pkgrel=2
pkgdesc="David's batch processor for the GIMP"
arch=(i686 x86_64 'mips64el')
url="http://members.ozemail.com.au/~hodsond/dbp.html"
license=('GPL')
depends=('gimp')
source=(http://www.ozemail.com.au/~hodsond/dbpSrc-${pkgver//./-}.tgz)
md5sums=('1106625707798ab8ea1317ac6bece1c5')

build() {
  cd "${srcdir}/dbp-${pkgver}"
  sed -i "s|<string>|<cstring>|" op.h
  make
}

package() {
  cd "${srcdir}/dbp-${pkgver}"
  install -D -m755 dbp "${pkgdir}/usr/lib/gimp/2.0/plug-ins/dbp"
}