aboutsummaryrefslogblamecommitdiffstats
path: root/community/liborcus/APKBUILD
blob: c537e631ce2f1ad920e61d73a7faa81b85b19da1 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                              
             
        
                                                      

                                    
                 
                                                                   
                          
                                                                 
 






                           
         






                                         




                                
                  


           
                                      

 
                                                                                                                                                                     
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=liborcus
pkgver=0.15.3
pkgrel=2
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"
subpackages="$pkgname-dev"
source="https://kohei.us/files/orcus/src/liborcus-$pkgver.tar.xz"

prepare() {
	default_prepare

	update_config_sub
	update_config_guess
}

build() {
	./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="bb5495a64ac5f984e107feb36dfe5c801d2ce7e2fcbee8f8bc779d87001e1fcb1d1f70ee2695eb976f1553c59908a15f887ceeb7ccfc556d4476ea846c5036f2  liborcus-0.15.3.tar.xz"