void-packages/srcpkgs/liborcus/template

33 lines
997 B
Bash

# Template file for 'liborcus'
pkgname=liborcus
version=0.19.2
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config python3"
makedepends="boost-devel mdds libixion-devel python3-devel zlib-devel"
short_desc="Library for processing spreadsheet documents"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MPL-2.0"
homepage="https://gitlab.com/orcus/orcus"
changelog="https://gitlab.com/orcus/orcus/-/raw/master/CHANGELOG"
distfiles="http://kohei.us/files/orcus/src/liborcus-${version}.tar.xz"
# distfiles="${DEBIAN_SITE}/main/libo/liborcus/liborcus_${version}.orig.tar.xz"
checksum=69ed26a00d4aaa7688e62a6e003cbc81928521a45e96605e53365aa499719e39
replaces="liborcus11>=0"
pre_configure() {
autoreconf -if
}
liborcus-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/lib/*.la"
vmove "${py3_sitelib}/*.la"
vmove usr/lib/pkgconfig
}
}