1 # Maintainer: megadriver <megadriver at gmx dot com>
2 # Based on gnumeric from [extra]
4 pkgname=gnumeric-minimal
8 pkgdesc="A GNOME-less spreadsheet program"
10 url="http://www.gnome.org/projects/gnumeric/"
12 depends=('goffice-light' 'desktop-file-utils' 'hicolor-icon-theme')
13 makedepends=('intltool')
14 install=gnumeric-minimal.install
15 conflicts=('gnumeric')
18 source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgname}/${pkgver%.*}/${_pkgname}-${pkgver}.tar.xz)
19 md5sums=('ee824d9656a271957d949b8769341f40')
22 cd "${srcdir}/${_pkgname}-${pkgver}"
24 # Create a dummy file to trick gnumeric into building without docs
25 # Got this from the gnumeric SlackBuild
26 touch doc/C/gnumeric-C.omf.out
28 # Remove invalid mime type. (FS#26338)
29 sed -i -e 's/zz-application\/zz-winassoc-xls;//' gnumeric.desktop.in
31 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
32 --disable-schemas-install --disable-ssindex \
33 --without-gnome --without-psiconv --without-perl \
34 --without-python --without-gda
39 cd "${srcdir}/${_pkgname}-${pkgver}"
40 make DESTDIR="${pkgdir}" install
42 rm -rf "${pkgdir}/etc/gconf"
43 rm -rf "${pkgdir}/usr/share/gnome"