updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gimp-plugin-texturize / PKGBUILD
blobd34bf69e5d5f25bc3b01dcbbdc28f5d5d8883110
1 # Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
2 pkgname=gimp-plugin-texturize
3 pkgver=2.1
4 pkgrel=3
5 pkgdesc="Generates large textures from a small sample"
6 arch=('i686' 'x86_64')
7 url="http://gimp-texturize.sourceforge.net/"
8 license=('GPL')
9 depends=('gimp')
10 makedepends=('perlxml')
11 source=(http://downloads.sourceforge.net/sourceforge/gimp-texturize/texturize-${pkgver}_src.tgz)
12 md5sums=('7f94b8cefc97eaa296b14fdbdc2c995e')
14 build() {
15   cd "$srcdir"/gimp-texturize
16   # fix the build with recent versions of gimp
17   find . -type f -name "*.c" -exec sed -i '/.*gimpimage_pdb.h.*/ d' '{}' ';'
18   find . -type f -name "*.cpp" -exec sed -i '/.*gimpimage_pdb.h.*/ d' '{}' ';'
19   ./configure --prefix=/usr
20   make
23 package() {
24   cd "$srcdir"/gimp-texturize
25   make DESTDIR="$pkgdir" install