upgpkg: ocaml-integers 0.5.0-1
[arch-packages.git] / double-conversion / repos / extra-x86_64 / PKGBUILD
blobdb9fcd466dfb6062bd59958b0b0942e5bfc15ee9
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Anatol Pomozov <anatol.pomozov@gmail.com>
3 # Contributor: Joel Teichroeb <joel@teichroeb.net>
4 # Contributor: Jonas Heinrich <onny@project-insanity.org>
6 pkgname=double-conversion
7 pkgver=3.1.6
8 pkgrel=1
9 pkgdesc='Binary-decimal and decimal-binary routines for IEEE doubles'
10 arch=(x86_64)
11 url='https://github.com/google/double-conversion'
12 license=(BSD)
13 depends=(gcc-libs)
14 makedepends=(cmake)
15 source=(https://github.com/google/double-conversion/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
16 sha256sums=('8a79e87d02ce1333c9d6c5e47f452596442a343d8c3e9b234e8a62fce1b1d49c')
18 build() {
19   cmake -B build -S $pkgname-$pkgver \
20       -DCMAKE_INSTALL_PREFIX=/usr \
21       -DBUILD_SHARED_LIBS=ON
22   cmake --build build
25 package () {
26   DESTDIR="$pkgdir" cmake --install build
28   install -Dm644 $pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname