33 lines
1011 B
Bash
33 lines
1011 B
Bash
# Template file for 'gnumeric'
|
|
pkgname=gnumeric
|
|
version=1.12.47
|
|
revision=1
|
|
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.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="http://gnumeric.org/"
|
|
changelog="https://github.com/GNOME/gnumeric/raw/mainline/NEWS"
|
|
distfiles="${GNOME_SITE}/gnumeric/${version%.*}/gnumeric-${version}.tar.xz"
|
|
checksum=40159f34128a13c6102a512c01cdb050a779801072e55b16f2a0e038c57119ce
|
|
|
|
# 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
|
|
}
|
|
}
|