[arch-commits] Commit in yasm/trunk (PKGBUILD)

Eric Bélanger eric at nymeria.archlinux.org
Sat Oct 26 06:44:53 UTC 2013


    Date: Saturday, October 26, 2013 @ 08:44:53
  Author: eric
Revision: 197449

upgpkg: yasm 1.2.0-3

Fix license, Add staticlibs to options

Modified:
  yasm/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-10-26 06:43:40 UTC (rev 197448)
+++ PKGBUILD	2013-10-26 06:44:53 UTC (rev 197449)
@@ -1,33 +1,32 @@
 # $Id$
-# Maintainer: Роман Кирилич (Roman Kyrylych) <roman at archlinux.org>
-# Contributor: Aaron Griffin <aaron at archlinux.org>
-# Contributor: Vinay S Shastry <vinayshastry at gmail.com>
+# Maintainer: Eric Bélanger <eric at archlinux.org>
 
 pkgname=yasm
 pkgver=1.2.0
-pkgrel=2
+pkgrel=3
 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=('773d28f27f83c44ac35079add0d3167ca6c1def8')
 
 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"
 }




More information about the arch-commits mailing list