🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435363738394041
pkgname: fast_float
pkgver: '8.2.10'
pkgrel: '1'
pkgdesc: 'Fast and exact implementation of the C++ from_chars functions for float and double types'
url: 'https://github.com/fastfloat/fast_float'
arch: x86_64
license:
- Apache
- Boost
- MIT
depends: []
makedepends:
- cmake
- git
source:
- 'https://github.com/fastfloat/fast_float/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz'
sha256sums:
- SKIP
build: |
cd ${pkgname}-${pkgver}
mkdir build
cd build
cmake -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-G Ninja ..
ninja
DESTDIR=${PKGDIR} ninja install
install -Dm644 ../LICENSE-APACHE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE-APACHE
install -Dm644 ../LICENSE-BOOST ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE-BOOST
install -Dm644 ../LICENSE-MIT ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE-MIT
package: |
true