diff options
Diffstat (limited to 'libre/gmp-static/PKGBUILD')
-rw-r--r-- | libre/gmp-static/PKGBUILD | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/libre/gmp-static/PKGBUILD b/libre/gmp-static/PKGBUILD deleted file mode 100644 index 83fa8087d..000000000 --- a/libre/gmp-static/PKGBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Maintainer: Márcio Silva <coadde@parabola.nu> -# based of gmp - -_pkgname=gmp -pkgname=gmp-static -pkgver=6.1.0 -pkgrel=3 -pkgdesc="A free library for arbitrary precision arithmetic (static libraries only)" -arch=('i686' 'x86_64' 'armv7h') -url="http://gmplib.org/" -depends=('gcc-libs-static' 'gmp') -license=('LGPL3' 'GPL') -options=('staticlibs') -source=(https://gmplib.org/download/gmp/gmp-${pkgver}.tar.xz{,.sig}) -md5sums=('a9868ef2556ad6a2909babcd1428f3c7' - 'SKIP') -validpgpkeys=('5972C48224C1E7E62AA0275D1150EE33C1A000B0') # Marco Bodrato - -build() { - cd "${srcdir}/${_pkgname}-${pkgver}" - - ./configure --build=${CHOST} \ - --prefix=/usr \ - --enable-cxx - # do not --enable-fat - see https://bugs.archlinux.org/task/47284 - make -} - -check() { - cd "${srcdir}/${_pkgname}-${pkgver}" - make check -} - -package() { - cd "${srcdir}/${_pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - - # remove conflicting files - rm -vr ${pkgdir}/usr/{include,share} - rm -v ${pkgdir}/usr/lib/libgmp*.so* -} |