From f9182240c853e3449a959441b074ce90d58d9ab4 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Wed, 24 Nov 2010 02:54:10 +0000
Subject: yasm: upgrade

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

diff --git a/abs/core/yasm/PKGBUILD b/abs/core/yasm/PKGBUILD
index fcbd935..7741fbf 100644
--- a/abs/core/yasm/PKGBUILD
+++ b/abs/core/yasm/PKGBUILD
@@ -1,23 +1,28 @@
-# $Id: PKGBUILD 18746 2008-11-08 22:44:05Z aaron $
-# Maintainer: Aaron Griffin <aaron@archlinux.org>
+# $Id: PKGBUILD 98381 2010-11-08 19:21:18Z andrea $
+# Maintainer:
+# Contributor: Aaron Griffin <aaron@archlinux.org>
 # Contributor: Vinay S Shastry <vinayshastry@gmail.com>
 
 pkgname=yasm
-pkgver=0.7.2
+pkgver=1.1.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/"
 depends=('glibc')
-source=(http://www.tortall.net/projects/yasm/releases/$pkgname-$pkgver.tar.gz)
+source=(http://www.tortall.net/projects/yasm/releases/${pkgname}-${pkgver}.tar.gz)
 options=('!libtool')
-md5sums=('cc9360593de5625dca286f0bfcb27dd5')
+md5sums=('8392e5f2235c2c2a981e1a633f2698cb')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
+  cd ${srcdir}/${pkgname}-${pkgver}
   ./configure --prefix=/usr
   make || return 1
-  make DESTDIR=$startdir/pkg install
-  install -Dm644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+  install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 }
-- 
cgit v0.12

