1 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: tobias <tobias@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk
4 # Maintainer: JD Steffen <jd@steffennet.org>
7 pkgname=lib32-$_pkgbase
10 pkgdesc="A library that allows you to read and write compressed AVI files (32-bit)"
12 depends=('lib32-sdl' 'lib32-freetype2' 'lib32-libpng' 'lib32-libjpeg' \
13 'lib32-libvorbis' 'lib32-xvidcore' 'lib32-libxxf86dga' 'lib32-libxi' 'lib32-libxv')
15 url="http://avifile.sourceforge.net"
17 source=("http://downloads.sourceforge.net/sourceforge/avifile/$_pkgbase-0.7-$pkgver.tar.bz2"
19 md5sums=('7da94802f120d1b69e04a13170dcd21d'
20 '588c3ce7bdebc1244f46ba56d8ef8a42')
23 cd $_pkgbase-0.7-$pkgver
25 patch -Np1 <../gcc.patch
29 export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
33 --libdir=$pkgdir/usr/lib32 \
35 --host=x86_64-unknown-linux-gnu \
36 --target=i686-unknown-linux-gnu
42 cd $_pkgbase-0.7-$pkgver
44 make prefix=$pkgdir/usr install
46 rm -rf "${pkgdir}"/usr/{include,share,bin,man}
47 find $pkgdir -name '*.la' -exec rm {} \;