[arch-commits] Commit in gmp/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Allan McRae
allan at archlinux.org
Tue Nov 6 14:26:55 UTC 2018
Date: Tuesday, November 6, 2018 @ 14:26:54
Author: allan
Revision: 337941
archrelease: copy trunk to testing-x86_64
Added:
gmp/repos/testing-x86_64/
gmp/repos/testing-x86_64/PKGBUILD
(from rev 337940, gmp/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: gmp/repos/testing-x86_64/PKGBUILD (from rev 337940, gmp/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-11-06 14:26:54 UTC (rev 337941)
@@ -0,0 +1,35 @@
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gmp
+pkgver=6.1.2
+pkgrel=2
+pkgdesc="A free library for arbitrary precision arithmetic"
+arch=('x86_64')
+url="http://gmplib.org/"
+depends=('gcc-libs' 'sh')
+license=('LGPL3' 'GPL')
+source=(https://gmplib.org/download/gmp/gmp-${pkgver}.tar.xz{,.sig})
+md5sums=('f58fa8001d60c4c77595fbbb62b63c1d'
+ 'SKIP')
+validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller
+
+build() {
+ cd "${pkgname}-${pkgver}"
+
+ ./configure --build=${CHOST} \
+ --prefix=/usr \
+ --enable-cxx \
+ --enable-fat
+ make
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list