Pkgfile 898 B

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