summaryrefslogtreecommitdiffstats
path: root/abs/core/nasm/PKGBUILD
blob: a9baa8824d0b5e7a4ebe0c185685725f35c2b0db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $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=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')
source=(http://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('1e3ebc1289c2be5963571c0937b7a211')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr || return 1
  make || return 1
}
package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make INSTALLROOT="${pkgdir}" install || return 1
}