# Contributor: Antonio Rojas # Contributor: Anatol Pomozov # Contributor: Joel Teichroeb # Contributor: Jonas Heinrich _pkgname=double-conversion pkgname=static-compat-$_pkgname pkgver=3.2.1 pkgrel=1 pkgdesc='Binary-decimal and decimal-binary routines for IEEE doubles' arch=(x86_64) url='https://github.com/google/double-conversion' license=(BSD) depends=(gcc-libs-static-compat) makedepends=(static-compat-cmake) source=(https://github.com/google/double-conversion/archive/v$pkgver/$_pkgname-$pkgver.tar.gz) sha256sums=('e40d236343cad807e83d192265f139481c51fc83a1c49e406ac6ce0a0ba7cd35') build() { source static-compat-environment static-compat-cmake -B build -S $_pkgname-$pkgver cmake --build build } package () { source static-compat-environment DESTDIR="$pkgdir" cmake --install build install -Dm644 $_pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname }