# Maintainer: PktSurf <smlinux@pktsurf.in>
app=gnumeric
version=1.12.46
build=1sml
homepage="http://projects.gnome.org/gnumeric/"
download="https://download.gnome.org/sources/gnumeric/1.12/gnumeric-$version.tar.xz"
desc="Spreadsheet application for GNOME"
requires="perl intltool python3 gobject-introspection goffice "

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions
}

build() {
  ./configure \
    --prefix=/ \
    --disable-introspection

  make
  make install DESTDIR=$pkg

  cp COPYING* $pkgdocs/
  
  mkfinalpkg
}

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