[arch-commits] Commit in yasm/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Nov 10 18:26:56 UTC 2018


    Date: Saturday, November 10, 2018 @ 18:26:56
  Author: felixonmars
Revision: 339026

archrelease: copy trunk to staging-x86_64

Added:
  yasm/repos/staging-x86_64/
  yasm/repos/staging-x86_64/PKGBUILD
    (from rev 339025, yasm/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: yasm/repos/staging-x86_64/PKGBUILD (from rev 339025, yasm/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-11-10 18:26:56 UTC (rev 339026)
@@ -0,0 +1,32 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=yasm
+pkgver=1.3.0
+pkgrel=3
+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')
+depends=('glibc')
+checkdepends=('systemd')
+options=('staticlibs')
+source=(http://www.tortall.net/projects/yasm/releases/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('b7574e9f0826bedef975d64d3825f75fbaeef55e')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  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