archrelease: copy trunk to extra-x86_64
[arch-packages.git] / yasm / repos / extra-x86_64 / PKGBUILD
blobdb9998d8c81e19e840c873f51a746844d481d9bf
1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 pkgname=yasm
4 pkgver=1.3.0
5 pkgrel=4
6 pkgdesc="A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)"
7 arch=('x86_64')
8 url="https://www.tortall.net/projects/yasm/"
9 license=('BSD' 'GPL2' 'LGPL2.1' 'PerlArtistic')
10 depends=('glibc')
11 checkdepends=('systemd')
12 options=('staticlibs')
13 source=(https://www.tortall.net/projects/yasm/releases/${pkgname}-${pkgver}.tar.gz)
14 sha1sums=('b7574e9f0826bedef975d64d3825f75fbaeef55e')
16 build() {
17   cd ${pkgname}-${pkgver}
18   ./configure --prefix=/usr
19   make
22 check() {
23   cd ${pkgname}-${pkgver}
24   make check
27 package() {
28   cd ${pkgname}-${pkgver}
29   make DESTDIR="${pkgdir}" install
30   install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
31   install -Dm644 BSD.txt "${pkgdir}/usr/share/licenses/${pkgname}/BSD.txt"