[arch-commits] Commit in nasm/repos (6 files)

Stéphane Gaudreault stephane at archlinux.org
Sat Aug 4 18:04:50 UTC 2012


    Date: Saturday, August 4, 2012 @ 14:04:50
  Author: stephane
Revision: 164757

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  nasm/repos/extra-i686/
  nasm/repos/extra-i686/PKGBUILD
    (from rev 164756, nasm/trunk/PKGBUILD)
  nasm/repos/extra-i686/nasm.install
    (from rev 164756, nasm/trunk/nasm.install)
  nasm/repos/extra-x86_64/
  nasm/repos/extra-x86_64/PKGBUILD
    (from rev 164756, nasm/trunk/PKGBUILD)
  nasm/repos/extra-x86_64/nasm.install
    (from rev 164756, nasm/trunk/nasm.install)

---------------------------+
 extra-i686/PKGBUILD       |   30 ++++++++++++++++++++++++++++++
 extra-i686/nasm.install   |   20 ++++++++++++++++++++
 extra-x86_64/PKGBUILD     |   30 ++++++++++++++++++++++++++++++
 extra-x86_64/nasm.install |   20 ++++++++++++++++++++
 4 files changed, 100 insertions(+)

Copied: nasm/repos/extra-i686/PKGBUILD (from rev 164756, nasm/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-08-04 18:04:50 UTC (rev 164757)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+
+pkgname=nasm
+pkgver=2.10.03
+pkgrel=1
+pkgdesc="An 80x86 assembler designed for portability and modularity"
+url="http://www.nasm.us"
+license=('BSD')
+arch=('i686' 'x86_64')
+depends=('glibc')
+makedepends=('ghostscript')
+source=(http://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('78a8de9ba02da7c2ba8c583a57901ff6856ad6c6')
+install=nasm.install
+
+build() {
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  ./configure --prefix=/usr
+  make everything
+}
+
+package() {
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  make INSTALLROOT="${pkgdir}" install install_rdf
+  install -dm755 "${pkgdir}"/usr/share/info
+  install -m644 doc/info/* "${pkgdir}"/usr/share/info/
+  install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/nasm/LICENSE
+}

Copied: nasm/repos/extra-i686/nasm.install (from rev 164756, nasm/trunk/nasm.install)
===================================================================
--- extra-i686/nasm.install	                        (rev 0)
+++ extra-i686/nasm.install	2012-08-04 18:04:50 UTC (rev 164757)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(nasm.info)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}

Copied: nasm/repos/extra-x86_64/PKGBUILD (from rev 164756, nasm/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-08-04 18:04:50 UTC (rev 164757)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+
+pkgname=nasm
+pkgver=2.10.03
+pkgrel=1
+pkgdesc="An 80x86 assembler designed for portability and modularity"
+url="http://www.nasm.us"
+license=('BSD')
+arch=('i686' 'x86_64')
+depends=('glibc')
+makedepends=('ghostscript')
+source=(http://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('78a8de9ba02da7c2ba8c583a57901ff6856ad6c6')
+install=nasm.install
+
+build() {
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  ./configure --prefix=/usr
+  make everything
+}
+
+package() {
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  make INSTALLROOT="${pkgdir}" install install_rdf
+  install -dm755 "${pkgdir}"/usr/share/info
+  install -m644 doc/info/* "${pkgdir}"/usr/share/info/
+  install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/nasm/LICENSE
+}

Copied: nasm/repos/extra-x86_64/nasm.install (from rev 164756, nasm/trunk/nasm.install)
===================================================================
--- extra-x86_64/nasm.install	                        (rev 0)
+++ extra-x86_64/nasm.install	2012-08-04 18:04:50 UTC (rev 164757)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(nasm.info)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+  done
+}




More information about the arch-commits mailing list