summaryrefslogtreecommitdiffstats
path: root/abs/core/nasm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/nasm/PKGBUILD')
-rw-r--r--abs/core/nasm/PKGBUILD34
1 files changed, 19 insertions, 15 deletions
diff --git a/abs/core/nasm/PKGBUILD b/abs/core/nasm/PKGBUILD
index a9baa88..eff9c02 100644
--- a/abs/core/nasm/PKGBUILD
+++ b/abs/core/nasm/PKGBUILD
@@ -1,25 +1,29 @@
-# $Id: PKGBUILD 74603 2010-03-31 18:55:53Z giovanni $
-# Maintainer: Aaron Griffin <aaron@archlinux.org>
-# Committer: Judd Vinet <jvinet@zeroflux.org>
+# $Id$
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=nasm
-pkgver=2.08.01
+pkgver=2.11.08
pkgrel=1
-pkgdesc="80x86 assembler designed for portability and modularity"
-url="http://www.nasm.us"
-license=('LGPL')
+pkgdesc="An 80x86 assembler designed for portability and modularity"
arch=('i686' 'x86_64')
+url="http://www.nasm.us"
+license=('BSD')
depends=('glibc')
-source=(http://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('1e3ebc1289c2be5963571c0937b7a211')
+install=nasm.install
+source=(http://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgname}-${pkgver}.tar.xz)
+sha1sums=('6908296ac437b3ade79fadfaad0efcfd99582f70')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr || return 1
- make || return 1
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+ make -C doc info
}
+
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make INSTALLROOT="${pkgdir}" install || return 1
+ cd ${pkgname}-${pkgver}
+ make INSTALLROOT="${pkgdir}" install install_rdf
+ install -dm755 "${pkgdir}"/usr/share/info
+ install -m644 doc/info/* "${pkgdir}"/usr/share/info/
+ install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/nasm/LICENSE
}