archrelease: copy trunk to extra-x86_64
[arch-packages.git] / liborcus / trunk / PKGBUILD
blob8667c8198e3371df738033a956b170dfa2770b48
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Thomas Arnhold <thomas at arnhold dot org>
4 pkgname=liborcus
5 pkgver=0.17.2
6 pkgrel=2
7 pkgdesc="File import filter library for spreadsheet documents."
8 arch=('x86_64')
9 url="https://gitlab.com/orcus/orcus/blob/master/README.md"
10 license=('MPL')
11 depends=('libixion')
12 makedepends=('boost' 'mdds')
13 source=(https://kohei.us/files/orcus/src/${pkgname}-${pkgver}.tar.xz)
14 # https://gitlab.com/orcus/orcus/-/releases
15 sha256sums=('30509d414e3cf439e0ae1e0c31b4b0ef5b2bb8e2b2404e3cb7d44a72162640ab')
17 build() {
18     cd "${pkgname}"-${pkgver}
19     ./configure --prefix=/usr
20     sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
21     make
24 check() {
25     cd "${pkgname}"-${pkgver}
26     make check
29 package() {
30     cd "${pkgname}"-${pkgver}
31     make DESTDIR="$pkgdir" install