archrelease: copy trunk to extra-x86_64
[arch-packages.git] / yasm / trunk / PKGBUILD
blob8adfc45ab8b1061d2f1a90091809dfcba972668a
1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 pkgname=yasm
4 pkgver=1.3.0
5 pkgrel=6
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 sha256sums=('3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f')
16 build() {
17   cd ${pkgname}-${pkgver}
18   CFLAGS+=' -ffat-lto-objects' \
19   ./configure --prefix=/usr
20   make
23 check() {
24   cd ${pkgname}-${pkgver}
25   make check -j1
28 package() {
29   cd ${pkgname}-${pkgver}
30   make DESTDIR="${pkgdir}" install
31   install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
32   install -Dm644 BSD.txt "${pkgdir}/usr/share/licenses/${pkgname}/BSD.txt"