12345678910111213141516171819202122232425262728293031 |
- # Description: Goffice legacy
- # URL: http://ftp.gnome.org/pub/GNOME/sources/goffice/
- # Maintainer: Daniel Azevedo, daniazevedo77 at posteo dot net
- # Depends on: gconf libgsf gtk xorg-libxdamage
- # originally found at Petar Petrov's Github repo crux-ports
- name=goffice08
- version=0.8.17
- release=1
- source=(http://ftp.gnome.org/pub/GNOME/sources/goffice/${version%.*}/goffice-$version.tar.xz
- disable-linking-pcre.patch
- go-conf-gsettings.c)
- build() {
- cd goffice-$version
- export PKG_CONFIG_PATH="/usr/lib/libxml210/pkgconfig:$PKG_CONFIG_PATH"
- # https://bugzilla.gnome.org/show_bug.cgi?id=670316
- patch -p1 -i $SRC/disable-linking-pcre.patch
-
- ./configure --prefix=/usr
-
- # https://mail.gnome.org/archives/commits-list/2011-November/msg05571.html
- cp $SRC/go-conf-gsettings.c goffice/app/
-
- make
- make install DESTDIR=$PKG
-
- rm -rf $PKG/usr/share/{gtk-doc,locale}
- rm -f $PKG/{,usr/}lib/*.la
- }
|