From ba6da4b6e7eab74dd3dcac947a11361b1b9f1eed Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Tue, 30 Nov 2010 23:40:09 +0000 Subject: nasm: upgrade --- abs/core/nasm/PKGBUILD | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/abs/core/nasm/PKGBUILD b/abs/core/nasm/PKGBUILD index fbac564..a9baa88 100644 --- a/abs/core/nasm/PKGBUILD +++ b/abs/core/nasm/PKGBUILD @@ -1,19 +1,25 @@ -# $Id: PKGBUILD,v 1.11 2005/03/01 07:53:53 dorphell Exp $ -# Maintainer: dorphell +# $Id: PKGBUILD 74603 2010-03-31 18:55:53Z giovanni $ +# Maintainer: Aaron Griffin # Committer: Judd Vinet + pkgname=nasm -pkgver=0.98.39 +pkgver=2.08.01 pkgrel=1 pkgdesc="80x86 assembler designed for portability and modularity" +url="http://www.nasm.us" +license=('LGPL') +arch=('i686' 'x86_64') depends=('glibc') -arch=i686 -source=(http://easynews.dl.sourceforge.net/sourceforge/nasm/nasm-$pkgver.tar.bz2) -md5sums=('2032ad44c7359f7a9a166a40a633e772') +source=(http://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgname}-${pkgver}.tar.bz2) +md5sums=('1e3ebc1289c2be5963571c0937b7a211') build() { - cd $startdir/src/$pkgname-$pkgver - ./configure --prefix=/usr + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr || return 1 make || return 1 - mkdir -p $startdir/pkg/usr/{bin,man/man1} - make prefix=$startdir/pkg/usr install +} +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make INSTALLROOT="${pkgdir}" install || return 1 } -- cgit v0.12