summaryrefslogtreecommitdiffstats
path: root/abs/core/yasm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/yasm/PKGBUILD')
-rw-r--r--abs/core/yasm/PKGBUILD21
1 files 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
}