void-packages/srcpkgs/gnumeric/template

36 lines
1.1 KiB
Bash

# Template file for 'gnumeric'
pkgname=gnumeric
version=1.12.55
revision=2
build_style=gnu-configure
hostmakedepends="bison gdk-pixbuf-devel glib-devel intltool itstool pkg-config"
makedepends="goffice-devel librsvg-devel libxslt-devel libxml2-devel"
short_desc="GNOME Spreadsheet Program"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://gnumeric.org/"
changelog="https://github.com/GNOME/gnumeric/raw/master/NEWS"
distfiles="${GNOME_SITE}/gnumeric/${version%.*}/gnumeric-${version}.tar.xz"
checksum=c69a09cd190b622acca476bbc3d4c03d68d7ccf59bba61bf036ce60885f9fb65
# FIXME: many tests fail.
make_check=no
# This isn't a direct dependency but when soname bumping perl it will
# cause build failures
hostmakedepends+=" perl-XML-Parser"
if [ "$CROSS_BUILD" ]; then
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include"
configure_args+=" --without-perl"
fi
gnumeric-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/libspreadsheet.so
}
}