APP=gnumeric
VERSION=1.12.46
BUILD=1sml
HOMEPAGE="http://projects.gnome.org/gnumeric/"
DOWNLOAD="https://download.gnome.org/sources/gnumeric/1.12/gnumeric-1.12.46.tar.xz"
DESC="Spreadsheet application for GNOME"
REQUIRES="perl intltool python3 gobject-introspection goffice "

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --disable-introspection \
    --disable-silent-rules 

  make
  make install DESTDIR=$PKG

  cp COPYING* $PKGDOCS/
  
  mkfinalpkg
}

SHA512SUMS="
30f3cf05bac4b77e1dfd5f48dc29d7da3b6a70f10e41d5ea0410cf74a9d18dc639da60abc0e5db9efca643dadb8696d2a3779fcf80003c8ac927c4c9e8f21bd7  gnumeric-1.12.46.tar.lz
"
