archrelease: copy trunk to extra-x86_64
[arch-packages.git] / nasm / repos / extra-x86_64 / PKGBUILD
blob02c5203f973025bf38f334c6e17c4451fa7689a1
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Eric BĂ©langer <eric@archlinux.org>
4 pkgname=nasm
5 pkgver=2.15.05
6 pkgrel=1
7 pkgdesc='80x86 assembler designed for portability and modularity'
8 url='https://www.nasm.us'
9 arch=('x86_64')
10 license=('BSD')
11 depends=('glibc')
12 makedepends=('perl-font-ttf' 'perl-sort-versions' 'fontconfig' 'adobe-source-sans-pro-fonts'
13              'ttf-liberation' 'ghostscript' 'xmlto' 'asciidoc')
14 source=(https://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgname}-${pkgver}.tar.xz)
15 sha512sums=('512f90a2584f1c5811429274b97c64a2cedf37b9fdeffb1bcd0ea64afd9ecc19a2d7877ca8f1e05393aa324153fc9f39ea51dacbf8d25a7d5a2d7728c925dba7')
16 b2sums=('a41434965c2125577b762d907a0a3c251c75d9f9beac230fba4099182c7f7beb08c6d2c05c2432b0dc8ba829f24077f44c3096faea9bd0a533250e6dbbfaef35')
18 build() {
19   cd ${pkgname}-${pkgver}
20   ./configure --prefix=/usr
21   make
22   make -C doc
25 package() {
26   cd ${pkgname}-${pkgver}
27   make DESTDIR="${pkgdir}" install install_rdf
28   install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/nasm
31 # vim: ts=2 sw=2 et: