blob: 59c3bc2e744782a1feb9716491eaafc121b627a4 (
plain) (
tree)
|
|
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=liborcus
pkgver=0.19.2
pkgrel=0
pkgdesc="Library for processing spreadsheet documents"
url="https://gitlab.com/orcus/orcus"
arch="all"
license="MPL-2.0 AND MIT"
depends=""
depends_dev="boost-dev mdds libixion-dev"
makedepends="$depends_dev zlib-dev"
subpackages="$pkgname-dev"
source="https://gitlab.com/api/v4/projects/orcus%2Forcus/packages/generic/source/$pkgver/liborcus-$pkgver.tar.xz"
build() {
# GCC 13 changed default fp precision behavior. (#1193, #1215)
export CXXFLAGS="${CXXFLAGS} -fexcess-precision=fast"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-python
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="c955490f57e91615278a83bb48726025cd5f8059b97ed5532f770199e134ca511c7ee6b0cd0a9d3a2d54208a5fdd19117054e95e818162ea568052fa11b21d4e liborcus-0.19.2.tar.xz"
|