void-packages/srcpkgs/gnumeric/template

32 lines
886 B
Bash
Raw Normal View History

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