1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
6 pkgdesc="A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)"
8 url="https://www.tortall.net/projects/yasm/"
9 license=('BSD' 'GPL2' 'LGPL2.1' 'PerlArtistic')
11 checkdepends=('systemd')
12 options=('staticlibs')
13 source=(https://www.tortall.net/projects/yasm/releases/${pkgname}-${pkgver}.tar.gz)
14 sha256sums=('3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f')
17 cd ${pkgname}-${pkgver}
18 CFLAGS+=' -ffat-lto-objects' \
19 ./configure --prefix=/usr
24 cd ${pkgname}-${pkgver}
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"