summaryrefslogtreecommitdiff
path: root/community/swftools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/swftools/PKGBUILD')
-rw-r--r--community/swftools/PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/community/swftools/PKGBUILD b/community/swftools/PKGBUILD
index eef2325c0..4fcf46c12 100644
--- a/community/swftools/PKGBUILD
+++ b/community/swftools/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 70956 2012-05-20 17:24:25Z jlichtblau $
+# $Id: PKGBUILD 91933 2013-05-29 20:22:20Z lcarlier $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Vinay S Shastry <vinayshastry@gmail.com>
pkgname=swftools
pkgver=0.9.2
-pkgrel=1
+pkgrel=2
pkgdesc="A collection of SWF manipulation and creation utilities"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.swftools.org/"
license=('GPL')
-depends=('avifile' 'giflib' 'freeglut' 'lame' 't1lib' 'libjpeg' 'fontconfig')
+depends=('giflib' 'freeglut' 'lame' 't1lib' 'libjpeg' 'fontconfig')
makedepends=('bison' 'flex' 'zlib' 'patch')
changelog=$pkgname.changelog
source=(http://www.swftools.org/$pkgname-$pkgver.tar.gz
@@ -17,6 +17,12 @@ source=(http://www.swftools.org/$pkgname-$pkgver.tar.gz
sha256sums=('bf6891bfc6bf535a1a99a485478f7896ebacbe3bbf545ba551298080a26f01f1'
'80f69c86ed06b315f576a733fd1e24145b88aef9934085f3790179a119b7923d')
+prepare() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ sed -i 's#PrintGifError()#fprintf(stderr, "%s\\n", GifErrorString())#g' src/gif2swf.c
+}
+
build() {
cd ${srcdir}/$pkgname-$pkgver