summaryrefslogtreecommitdiffstats
path: root/abs/core/lame/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/lame/PKGBUILD')
-rw-r--r--abs/core/lame/PKGBUILD25
1 files changed, 14 insertions, 11 deletions
diff --git a/abs/core/lame/PKGBUILD b/abs/core/lame/PKGBUILD
index 7be3e87..6853b74 100644
--- a/abs/core/lame/PKGBUILD
+++ b/abs/core/lame/PKGBUILD
@@ -1,8 +1,9 @@
-# $Id: PKGBUILD 4167 2008-07-04 18:00:32Z hugo $
-# Maintainer: Hugo Doria <hugo@archlinux.org>
+# $Id: PKGBUILD 80636 2010-05-20 16:06:46Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Contributor: Hugo Doria <hugo@archlinux.org>
+
pkgname=lame
-pkgver=3.98
+pkgver=3.98.4
pkgrel=1
pkgdesc="An MP3 encoder and graphical frame analyzer"
arch=('i686' 'x86_64')
@@ -10,14 +11,16 @@ 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')
+options=('!libtool')
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('8e9866ad6b570c6c95c8cba48060473f')
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 {} \;
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr \
+ --enable-nasm \
+ --enable-shared
+ make -j1 || return 1
+ make DESTDIR="${pkgdir}" install || return 1
}