summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-30 23:40:09 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-30 23:40:09 (GMT)
commitba6da4b6e7eab74dd3dcac947a11361b1b9f1eed (patch)
tree74615bafb8044372538e72b2daec78cc375b7e92 /abs/core
parent16388a3d50a99b106b982d6d0d0849f716720c1c (diff)
downloadlinhes_pkgbuild-ba6da4b6e7eab74dd3dcac947a11361b1b9f1eed.zip
linhes_pkgbuild-ba6da4b6e7eab74dd3dcac947a11361b1b9f1eed.tar.gz
linhes_pkgbuild-ba6da4b6e7eab74dd3dcac947a11361b1b9f1eed.tar.bz2
nasm: upgrade
Diffstat (limited to 'abs/core')
-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
}