1 # Maintainer: Arkham <arkham at archlinux dot us>
2 # Contributor: Arkham <arkham at archlinux dot us>
7 pkgdesc="xml2swf and swf2xml processor with import functionalities"
9 url="http://swfmill.org"
11 depends=('libxslt' 'freetype2' 'libpng')
13 source=(http://swfmill.org/releases/$pkgname-$pkgver.tar.gz)
14 md5sums=('b7850211cf683aa7a1c62324b56e3216')
17 cd $srcdir/$pkgname-$pkgver
19 # Patch some gcc problems
20 sed -i -e 's/!png_check_sig(sig, 8)/png_sig_cmp(sig, 0, 8)/' src/swft/readpng.c
22 # Configure, make and install
23 ./configure --prefix=/usr
25 make DESTDIR=$pkgdir install || return 1