# Description: Gnumeric spreadsheet -- last GTK2 release # URL: http://www.gnumeric.org/ # Maintainer: Petar Petrov, slackalaxy at gmail dot com # Depends on: goffice08 python name=gnumeric-gtk2 version=1.10.17 release=3 source=(https://download-fallback.gnome.org/sources/gnumeric/${version%.*}/gnumeric-$version.tar.bz2) build() { cd gnumeric-$version # use this version of libxml2 export PKG_CONFIG_PATH="/usr/lib/libxml210/pkgconfig:$PKG_CONFIG_PATH" touch doc/C/gnumeric-C.omf.out ./configure --prefix=/usr \ --disable-schemas-install \ --disable-nls make make DESTDIR=$PKG install rm -rf $PKG/usr/share/{locale,omf,gnome} rm -f $PKG/{,usr/}lib/*.la # Running "update-desktop-database" complains, warning that # usage of MIME type "zz-application/zz-winassoc-xls" is discouraged sed -i "s:zz-application/zz-winassoc-xls:application/vnd.ms-excel:" $PKG/usr/share/applications/gnumeric.desktop }