# $Id: PKGBUILD 4167 2008-07-04 18:00:32Z hugo $ # Maintainer: Hugo Doria <hugo@archlinux.org> # Contributor: Hugo Doria <hugo@archlinux.org> pkgname=lame pkgver=3.98 pkgrel=1 pkgdesc="An MP3 encoder and graphical frame analyzer" arch=('i686' 'x86_64') url="http://lame.sourceforge.net/" depends=('ncurses') makedepends=('nasm') license=('LGPL') source=(http://downloads.sourceforge.net/sourceforge/lame/lame-398.tar.gz \ shared-frontend.patch) md5sums=('f44b9f8e1b5d8835d0a77f9cc9cedd1c' 'e7fc0e6d82dd35a01411be96fc8effab') build() { cd $startdir/src/$pkgname-398 ./configure --prefix=/usr --enable-nasm --enable-shared make || return 1 make DESTDIR=$startdir/pkg install find $startdir/pkg -name '*.la' -exec rm {} \; }