29 lines
889 B
Bash
29 lines
889 B
Bash
# Template file for 'gnumeric'
|
|
pkgname=gnumeric
|
|
version=1.12.41
|
|
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.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=66f6e665b7b6d708537295d8cbd00c5cb4efe31f605d5e646f38a7beab565969
|
|
|
|
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
|
|
}
|
|
}
|