1234567891011121314151617181920212223242526272829303132 |
- # Description: Gnumeric spreadsheet -- last GTK2 release
- # URL: http://www.gnumeric.org/
- # Maintainer: Daniel Azevedo, daniazevedo77 at posteo dot net
- # Depends on: goffice08 python
- # originally found at Petar Petrov's Github repo crux-ports
- 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
- }
|