31 lines
886 B
Bash
31 lines
886 B
Bash
# Template file for 'gnumeric'
|
|
pkgname=gnumeric
|
|
version=1.12.29
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="bison pkg-config intltool glib-devel gdk-pixbuf-devel"
|
|
makedepends="goffice-devel librsvg-devel libxslt-devel"
|
|
short_desc="GNOME Spreadsheet Program"
|
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
|
license="GPL-3"
|
|
homepage="http://gnumeric.org/"
|
|
distfiles="${GNOME_SITE}/gnumeric/${version%.*}/gnumeric-${version}.tar.xz"
|
|
checksum=5a35c56679027e5d0e61f67358c2feee458dc0f62494e32281c9a1a579ba7fb5
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include"
|
|
configure_args+=" --without-perl"
|
|
fi
|
|
|
|
pre_configure() {
|
|
sed -i -e 's|zz-application/zz-winassoc-xls;||' gnumeric.desktop.in
|
|
}
|
|
|
|
gnumeric-devel_package() {
|
|
depends="gnumeric>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|