summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/nasm/PKGBUILD26
1 files 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 <dorphell@archlinux.org>
+# $Id: PKGBUILD 74603 2010-03-31 18:55:53Z giovanni $
+# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Committer: Judd Vinet <jvinet@zeroflux.org>
+
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
}