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

Allan McRae allan at archlinux.org
Tue Feb 24 14:31:56 UTC 2015


    Date: Tuesday, February 24, 2015 @ 15:31:55
  Author: allan
Revision: 231842

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

Added:
  libmpc/repos/testing-i686/
  libmpc/repos/testing-i686/PKGBUILD
    (from rev 231841, libmpc/trunk/PKGBUILD)
  libmpc/repos/testing-i686/libmpc.install
    (from rev 231841, libmpc/trunk/libmpc.install)
  libmpc/repos/testing-x86_64/
  libmpc/repos/testing-x86_64/PKGBUILD
    (from rev 231841, libmpc/trunk/PKGBUILD)
  libmpc/repos/testing-x86_64/libmpc.install
    (from rev 231841, 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 231841, libmpc/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-02-24 14:31:55 UTC (rev 231842)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+
+pkgname=libmpc
+pkgver=1.0.3
+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=('d6a1d5f8ddea3abd2cc3e98f58352d26'
+         'SKIP')
+validpgpkeys=('AD17A21EF8AED8F1CC02DBD9F7D5C9BF765C61E3')  # Andreas Enge
+
+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 231841, libmpc/trunk/libmpc.install)
===================================================================
--- testing-i686/libmpc.install	                        (rev 0)
+++ testing-i686/libmpc.install	2015-02-24 14:31:55 UTC (rev 231842)
@@ -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 231841, libmpc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-02-24 14:31:55 UTC (rev 231842)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+
+pkgname=libmpc
+pkgver=1.0.3
+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=('d6a1d5f8ddea3abd2cc3e98f58352d26'
+         'SKIP')
+validpgpkeys=('AD17A21EF8AED8F1CC02DBD9F7D5C9BF765C61E3')  # Andreas Enge
+
+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 231841, libmpc/trunk/libmpc.install)
===================================================================
--- testing-x86_64/libmpc.install	                        (rev 0)
+++ testing-x86_64/libmpc.install	2015-02-24 14:31:55 UTC (rev 231842)
@@ -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