app=galculator
version=2.1.4
build=1sml
homepage="http://galculator.mnim.org/"
download="http://galculator.mnim.org/downloads/galculator-2.1.4.tar.bz2"
desc="GTK calculator for GNOME"
requires="intltool gtk2 graphite2"

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

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

  ./configure \
    --prefix="" \
    --disable-gtk3 \
    --disable-nls \
    $builddist

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
909efb8cd5bc9fd4997a9025106656ce13b83b1dbfa039822f01421c6cfe46b57dbf683743a5d60be606fa1d80cf9bdf86ad37bb676592d0c637e964058a0904  galculator-2.1.4.tar.lz
"
