# Maintainer: Natanael Copa pkgname=yasm pkgver=1.2.0 pkgrel=1 pkgdesc="A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)" url="http://www.tortall.net/projects/yasm/" arch="all" license="custom" depends= makedepends= subpackages="$pkgname-dev $pkgname-doc" source="http://www.tortall.net/projects/$pkgname/releases/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" update_config_sub } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } md5sums="4cfc0686cf5350dd1305c4d905eb55a6 yasm-1.2.0.tar.gz"