# $Id: PKGBUILD 216273 2014-07-02 16:21:53Z fyan $ # Maintainer: Jan de Groot pkgname=xorg-xcalc pkgver=1.0.5 pkgrel=2 pkgdesc="Scientific calculator for X" arch=('i686' 'x86_64') url="http://xorg.freedesktop.org/" license=('custom') depends=('libxaw') makedepends=('xorg-util-macros') source=(http://xorg.freedesktop.org/archive/individual/app/xcalc-${pkgver}.tar.bz2) sha256sums=('448f3aca106e86fbc051172cc4ea51eebce2fac096a7a971b8561b9b85697ae4') build() { cd "${srcdir}/xcalc-${pkgver}" ./configure --prefix=/usr make } package() { cd "${srcdir}/xcalc-${pkgver}" make DESTDIR="${pkgdir}" install install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" }