updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / gimp-plugin-layerfx / PKGBUILD
bloba300079f4ddd1cc9ab6d1b7cc9749c1c845591d0
1 # Contributor: Garrett <http://www.floft.net/contact>
2 pkgname=gimp-plugin-layerfx
3 pkgver=0.1
4 pkgrel=1
5 pkgdesc="A GIMP plugin for layer effects."
6 arch=('i686' 'x86_64')
7 url='http://registry.gimp.org/node/186'
8 license=('GPL3')
9 depends=('gimp')
10 source=(http://registry.gimp.org/files/layerfx.scm)
11 md5sums=('b36661a57a1abcb2e25f64987f0e8d14')
13 build() {
14         scripts=${pkgdir}/usr/share/gimp/2.0/scripts/
15         mkdir -p ${scripts}
16         cp ${srcdir}/layerfx.scm ${scripts}
17         sed -i "s/gimp-palette-get-foreground/gimp-context-get-foreground/g" ${scripts}/layerfx.scm
18         sed -i "s/gimp-palette-set-foreground/gimp-context-set-foreground/g" ${scripts}/layerfx.scm