app=xcalc
version=1.1.0
build=1sml
homepage="https://cgit.freedesktop.org/xorg/app/xcalc/"
download="https://xorg.freedesktop.org/releases/individual/app/xcalc-$version.tar.bz2"
desc="Scientific calculator for X"
requires="libxaw "

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

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

  ./configure \
    --prefix="" 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
5b00c8ecf063aee05bab344c4cd51a2efb58cd9912266cb3d6b7f9482e92af4fdcea6a6f336b5c729c0f511f3c90f5bf254e3d4d7e26e7ffc225e128145ae036  xcalc-1.1.0.tar.xz
"
