community/liborcus: modernize

Closes: GH-8050
This commit is contained in:
Leo 2019-05-24 23:37:35 -03:00 committed by TBK
parent 8d48c32db1
commit e13f48fe5e
No known key found for this signature in database
GPG Key ID: 5FFB25718720C7D7

View File

@ -7,14 +7,12 @@ 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"
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
"
builddir="$srcdir/liborcus-$pkgver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@ -27,12 +25,10 @@ build() {
}
check() {
cd "$builddir"
make check
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}