From 6ea26e147ff0e0a1c203808ee82bda53785109dd Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Tue, 2 Dec 2014 01:03:59 +0000
Subject: yasm: update to 1.3.0

---
 abs/core/yasm/PKGBUILD | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

diff --git a/abs/core/yasm/PKGBUILD b/abs/core/yasm/PKGBUILD
index d1096c2..5314589 100644
--- a/abs/core/yasm/PKGBUILD
+++ b/abs/core/yasm/PKGBUILD
@@ -1,33 +1,32 @@
-# $Id: PKGBUILD 157779 2012-04-29 10:55:02Z allan $
-# Maintainer: Роман Кирилич (Roman Kyrylych) <roman@archlinux.org>
-# Contributor: Aaron Griffin <aaron@archlinux.org>
-# Contributor: Vinay S Shastry <vinayshastry@gmail.com>
+# $Id$
+# Maintainer: Eric Bélanger <eric@archlinux.org>
 
 pkgname=yasm
-pkgver=1.2.0
-pkgrel=2
+pkgver=1.3.0
+pkgrel=1
 pkgdesc="A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)"
 arch=('i686' 'x86_64')
-license=('custom')
 url="http://www.tortall.net/projects/yasm/"
+license=('BSD' 'GPL2' 'LGPL2.1' 'PerlArtistic')
 depends=('glibc')
+options=('staticlibs')
 source=(http://www.tortall.net/projects/yasm/releases/${pkgname}-${pkgver}.tar.gz)
-options=('!libtool')
-md5sums=('4cfc0686cf5350dd1305c4d905eb55a6')
+sha1sums=('b7574e9f0826bedef975d64d3825f75fbaeef55e')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr
   make
 }
 
 check() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
   make check
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
-  install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm644 BSD.txt "${pkgdir}/usr/share/licenses/${pkgname}/BSD.txt"
 }
-- 
cgit v0.12

