# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Mateusz Herych pkgname=gmerlin-avdecoder pkgver=1.0.0 pkgrel=4 pkgdesc="Media decoding library" arch=('i686' 'x86_64') url="http://gmerlin.sourceforge.net/avdec_frame.html" license=('GPL') depends=('gmerlin' 'openjpeg' 'flac' 'smbclient' 'libmad' 'libmpcdec' 'speex' 'libdca' 'libmpeg2' 'a52dec') source=(http://downloads.sourceforge.net/sourceforge/gmerlin/gmerlin-avdecoder-$pkgver.tar.gz) md5sums=('40060698eb4d9c70d95a27f9373a41c1') build() { cd $startdir/src/$pkgname-$pkgver rm -rf cpuinfo.sh ./configure --prefix=/usr \ --without-doxygen make || return 1 make DESTDIR=$startdir/pkg install }