void-packages/srcpkgs/gnumeric/template
2018-08-17 08:31:28 -03:00

32 lines
1,019 B
Bash

# Template file for 'gnumeric'
pkgname=gnumeric
version=1.12.42
revision=3
build_style=gnu-configure
hostmakedepends="bison gdk-pixbuf-devel glib-devel intltool itstool pkg-config "
makedepends="goffice-devel librsvg-devel libxslt-devel"
short_desc="GNOME Spreadsheet Program"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-3.0-or-later"
homepage="http://gnumeric.org/"
changelog="https://raw.githubusercontent.com/GNOME/gnumeric/master/NEWS"
distfiles="${GNOME_SITE}/gnumeric/${version%.*}/gnumeric-${version}.tar.xz"
checksum=54def8f93ab4858e2ed6499e2731c4393c1e94993696c944bd755a7a0879146d
# 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="gnumeric>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}