aboutsummaryrefslogtreecommitdiffstats
path: root/yasm/PKGBUILD
blob: ca7f4d4fce55e5b8ed0d5a7ecb486f0252444a66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#Maintainer: Zee Eichel  <zee@dracos-linux.org>

pkgname=yasm
pkgver=1.3.0
pkgrel=1
pkgdesc="A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)"
arch=('x86_64')
url="http://www.tortall.net/projects/yasm/"
license=('BSD' 'GPL2' 'LGPL2.1' 'PerlArtistic')
options=(staticlibs)
source=("http://www.tortall.net/projects/yasm/releases/yasm-${pkgver}.tar.gz")
sha256sums=('3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f')
optdepends=('python2')

build() {
	cd "${srcdir}/yasm-${pkgver}"
  sed -i 's#) ytasm.*#)#' Makefile.in
	./configure --prefix=/usr

	make
}

package() {
	cd "${srcdir}/yasm-${pkgver}"

	make install DESTDIR="${pkgdir}"
	rm -rf $pkgdir/usr/share/man
}