# $Id: PKGBUILD 61443 2011-12-31 13:20:56Z ibiru $ # Maintainer: Mateusz Herych pkgname=gmerlin-avdecoder pkgver=1.1.0 pkgrel=3 pkgdesc="Media decoding library" arch=('i686' 'x86_64' 'mips64el') 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=('c1ea663e9da631453eec4ac79138b6c5') build() { cd "$srcdir/$pkgname-$pkgver" rm -f cpuinfo.sh ./configure --prefix=/usr --without-doxygen make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install }