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-1.1.0.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
"
