aboutsummaryrefslogtreecommitdiffstats
path: root/community/liborcus/APKBUILD
blob: 5e028394570cd240f9c37566d87b783403745116 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=liborcus
pkgver=0.14.1
pkgrel=1
pkgdesc="Library for processing spreadsheet documents"
url="https://gitlab.com/orcus/orcus"
arch="all"
license="MPL-2.0"
makedepends="$depends_dev boost-dev mdds-dev libixion-dev zlib-dev libixion-dev"
subpackages="$pkgname-dev"
source="https://kohei.us/files/orcus/src/liborcus-$pkgver.tar.xz
	"
builddir="$srcdir/liborcus-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-python
	make
}

check() {
        cd "$builddir"
        make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="a32dc5a652ce99cff37273c38fb9460e13e7bfb562f40c8d0c79b65c33e340daaeeb2c796308ca700b85bfc13cc8215641563b9e9f6d44b7d61adb8e8a3c950f  liborcus-0.14.1.tar.xz"