aboutsummaryrefslogtreecommitdiffstats
path: root/yasm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'yasm/PKGBUILD')
-rw-r--r--yasm/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/yasm/PKGBUILD b/yasm/PKGBUILD
new file mode 100644
index 0000000..ca7f4d4
--- /dev/null
+++ b/yasm/PKGBUILD
@@ -0,0 +1,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
+}