void-packages/srcpkgs/gnumeric/template

32 lines
886 B
Bash
Raw Normal View History

2015-02-18 20:52:11 +00:00
# Template file for 'gnumeric'
pkgname=gnumeric
2016-02-09 19:30:24 +00:00
version=1.12.27
2015-08-04 15:14:21 +00:00
revision=1
2015-02-18 20:52:11 +00:00
build_style=gnu-configure
2016-02-09 19:30:24 +00:00
hostmakedepends="bison pkg-config intltool glib-devel gdk-pixbuf-devel"
2015-02-18 20:52:11 +00:00
makedepends="goffice-devel librsvg-devel libxslt-devel"
2015-06-10 04:58:41 +00:00
short_desc="GNOME Spreadsheet Program"
2015-08-04 15:14:21 +00:00
maintainer="Duncaen <duncaen@voidlinux.eu>"
2015-02-18 20:52:11 +00:00
license="GPL-3"
homepage="http://gnumeric.org/"
distfiles="${GNOME_SITE}/gnumeric/${version%.*}/gnumeric-${version}.tar.xz"
2016-02-09 19:30:24 +00:00
checksum=383a5b6eca17f0a5a0b552edcc10320fa719d10c69c7b6fb29d5a11808f1d1c9
2016-01-27 21:45:53 +00:00
if [ "$CROSS_BUILD" ]; then
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include"
configure_args+=" --without-perl"
fi
2015-02-18 20:52:11 +00:00
2016-02-09 19:30:24 +00:00
pre_configure() {
sed -i -e 's|zz-application/zz-winassoc-xls;||' gnumeric.desktop.in
}
2015-02-18 20:52:11 +00:00
gnumeric-devel_package() {
2015-02-18 20:56:45 +00:00
depends="gnumeric>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
2015-02-18 20:52:11 +00:00
}