diff --git a/community/double-conversion/APKBUILD b/community/double-conversion/APKBUILD index f762974c239201f955f65f86823ca9d0264b6ebf..5b076f91f2b79687d09bcb00f37af7ed23a23abc 100644 --- a/community/double-conversion/APKBUILD +++ b/community/double-conversion/APKBUILD @@ -1,29 +1,26 @@ # Maintainer: Marian Buschsieweke pkgname=double-conversion -pkgver=3.1.5 +pkgver=3.2.1 pkgrel=0 pkgdesc="Binary-decimal and decimal-binary routines for IEEE doubles" url="https://github.com/google/double-conversion" arch="all" license="BSD-3-Clause" -makedepends="cmake" +makedepends="cmake samurai" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/google/double-conversion/archive/v$pkgver.tar.gz" -prepare() { - default_prepare - mkdir -p build -} +case "$CARCH" in +x86) options="$options !check" ;; # SIGABRT in tests +esac build() { - cd build - - cmake .. \ + cmake -B build -G Ninja \ -DBUILD_TESTING=ON \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=ON - make + cmake --build build } check() { @@ -32,8 +29,9 @@ check() { } package() { - cd build - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" cmake --install build } -sha512sums="0aeabdbfa06c3c4802905ac4bf8c2180840577677b47d45e1c91034fe07746428c9db79260ce6bdbdf8b584746066cea9247ba43a9c38155caf1ef44e214180a double-conversion-3.1.5.tar.gz" +sha512sums=" +d2feb3098a1d4d6baab5f89bcc29ac2e06d314d552b8c747c6eb6dba5dd165a15dc71200191edb7f05d521c349e12d59cddba3c5db101e1623e0e76e19f21a49 double-conversion-3.2.1.tar.gz +"