diff options
Diffstat (limited to 'main/gmp/APKBUILD')
-rw-r--r-- | main/gmp/APKBUILD | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/main/gmp/APKBUILD b/main/gmp/APKBUILD index 225e7b6a00..3dc82ba612 100644 --- a/main/gmp/APKBUILD +++ b/main/gmp/APKBUILD @@ -1,27 +1,24 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gmp -pkgver=6.1.2 -pkgrel=1 +pkgver=6.2.0 +pkgrel=0 pkgdesc="A free library for arbitrary precision arithmetic" url="https://gmplib.org/" arch="all" -license="LGPL-3.0" +license="LGPL-3.0-or-later" makedepends="m4 texinfo libtool" -depends= subpackages="$pkgname-doc $pkgname-dev libgmpxx" source="https://gmplib.org/download/gmp/gmp-$pkgver.tar.xz " replaces="gmp5" prepare() { - cd "$builddir" default_prepare # force update to libtool with fixed cross-build support libtoolize -f } build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -36,12 +33,10 @@ build() { } package() { - cd "$builddir" - make -j1 DESTDIR="${pkgdir}" install + make -j1 DESTDIR="$pkgdir" install } check() { - cd "$builddir" [ "$CBUILD" = "$CHOST" ] && make check } @@ -56,6 +51,4 @@ doc() { replaces="gmp5-doc" } -md5sums="f58fa8001d60c4c77595fbbb62b63c1d gmp-6.1.2.tar.xz" -sha256sums="87b565e89a9a684fe4ebeeddb8399dce2599f9c9049854ca8c0dfbdea0e21912 gmp-6.1.2.tar.xz" -sha512sums="9f098281c0593b76ee174b722936952671fab1dae353ce3ed436a31fe2bc9d542eca752353f6645b7077c1f395ab4fdd355c58e08e2a801368f1375690eee2c6 gmp-6.1.2.tar.xz" +sha512sums="a066f0456f0314a1359f553c49fc2587e484ff8ac390ff88537266a146ea373f97a1c0ba24608bf6756f4eab11c9056f103c8deb99e5b57741b4f7f0ec44b90c gmp-6.2.0.tar.xz" |