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

Allan McRae allan at nymeria.archlinux.org
Sun Jan 19 00:33:57 UTC 2014


    Date: Sunday, January 19, 2014 @ 01:33:56
  Author: allan
Revision: 204394

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

Added:
  libmpc/repos/testing-i686/
  libmpc/repos/testing-i686/PKGBUILD
    (from rev 204391, libmpc/trunk/PKGBUILD)
  libmpc/repos/testing-i686/libmpc.install
    (from rev 204391, libmpc/trunk/libmpc.install)
  libmpc/repos/testing-x86_64/
  libmpc/repos/testing-x86_64/PKGBUILD
    (from rev 204393, libmpc/trunk/PKGBUILD)
  libmpc/repos/testing-x86_64/libmpc.install
    (from rev 204393, libmpc/trunk/libmpc.install)

-------------------------------+
 testing-i686/PKGBUILD         |   33 +++++++++++++++++++++++++++++++++
 testing-i686/libmpc.install   |   20 ++++++++++++++++++++
 testing-x86_64/PKGBUILD       |   33 +++++++++++++++++++++++++++++++++
 testing-x86_64/libmpc.install |   20 ++++++++++++++++++++
 4 files changed, 106 insertions(+)

Copied: libmpc/repos/testing-i686/PKGBUILD (from rev 204391, libmpc/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-01-19 00:33:56 UTC (rev 204394)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+
+pkgname=libmpc
+pkgver=1.0.2
+_pkgver=1.0.1   # upstream stuff-up...
+pkgrel=1
+pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision"
+arch=('i686' 'x86_64')
+url="http://www.multiprecision.org/"
+license=('LGPL')
+depends=('mpfr')
+install=libmpc.install
+source=(http://www.multiprecision.org/mpc/download/mpc-${pkgver/_/-}.tar.gz{,.sig})
+md5sums=('b32a2e1a3daa392372fbd586d1ed3679'
+         'SKIP')
+
+build() {
+  cd "${srcdir}/mpc-${_pkgver}"
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd "${srcdir}/mpc-${_pkgver}"
+  make check
+}
+
+package() {
+  cd "${srcdir}/mpc-${_pkgver}"
+  make DESTDIR="${pkgdir}" install
+  mv ${pkgdir}/usr/share/info/{mpc,libmpc}.info
+}

Copied: libmpc/repos/testing-i686/libmpc.install (from rev 204391, libmpc/trunk/libmpc.install)
===================================================================
--- testing-i686/libmpc.install	                        (rev 0)
+++ testing-i686/libmpc.install	2014-01-19 00:33:56 UTC (rev 204394)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(libmpc.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: libmpc/repos/testing-x86_64/PKGBUILD (from rev 204393, libmpc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-01-19 00:33:56 UTC (rev 204394)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+
+pkgname=libmpc
+pkgver=1.0.2
+_pkgver=1.0.1   # upstream stuff-up...
+pkgrel=1
+pkgdesc="Library for the arithmetic of complex numbers with arbitrarily high precision"
+arch=('i686' 'x86_64')
+url="http://www.multiprecision.org/"
+license=('LGPL')
+depends=('mpfr')
+install=libmpc.install
+source=(http://www.multiprecision.org/mpc/download/mpc-${pkgver/_/-}.tar.gz{,.sig})
+md5sums=('b32a2e1a3daa392372fbd586d1ed3679'
+         'SKIP')
+
+build() {
+  cd "${srcdir}/mpc-${_pkgver}"
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd "${srcdir}/mpc-${_pkgver}"
+  make check
+}
+
+package() {
+  cd "${srcdir}/mpc-${_pkgver}"
+  make DESTDIR="${pkgdir}" install
+  mv ${pkgdir}/usr/share/info/{mpc,libmpc}.info
+}

Copied: libmpc/repos/testing-x86_64/libmpc.install (from rev 204393, libmpc/trunk/libmpc.install)
===================================================================
--- testing-x86_64/libmpc.install	                        (rev 0)
+++ testing-x86_64/libmpc.install	2014-01-19 00:33:56 UTC (rev 204394)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(libmpc.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