# $Id: PKGBUILD 151172 2012-02-25 06:55:40Z allan $ # Maintainer: Jan de Groot pkgname=xorg-xcalc pkgver=1.0.4.1 pkgrel=2.1 pkgdesc="Scientific calculator for X" arch=('i686' 'x86_64' 'mips64el') 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 } package() { cd "${srcdir}/xcalc-${pkgver}" make DESTDIR="${pkgdir}" install install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" }