# $Id: $ # Maintainer: Jan de Groot pkgname=xorg-xcalc pkgver=1.0.4.1 pkgrel=1 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) sha1sums=('2206fc4bf3719c43fa13a6c64a37b40607d8e5e2') build() { cd "${srcdir}/xcalc-${pkgver}" ./configure --prefix=/usr make make DESTDIR="${pkgdir}" install install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" }