1 # Contributor: Garrett <http://www.floft.net/contact>
2 pkgname=gimp-plugin-layerfx
5 pkgdesc="A GIMP plugin for layer effects."
7 url='http://registry.gimp.org/node/186'
10 source=(http://registry.gimp.org/files/layerfx.scm)
11 md5sums=('b36661a57a1abcb2e25f64987f0e8d14')
14 scripts=${pkgdir}/usr/share/gimp/2.0/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