# Contributor: ScrumpyJack # Maintainer: ScrumpyJack pkgname=xcalc pkgver=1.0.7 pkgrel=0 pkgdesc="Calculator for the X Window System" url="http://www.x.org" arch="all" license="MIT" makedepends="libx11-dev libxaw-dev libxt-dev" subpackages="$pkgname-doc" source="https://www.x.org/releases/individual/app/${pkgname}-${pkgver}.tar.bz2" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --datarootdir=/usr/share make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="890cb9399e3c55816318ab5f0152ddba05ee141cbae6032759a3b762742ab54df8fcf0394dacc539299f93f27cbbb17aee5cbda5dde8b169a7099f20a1a38388 xcalc-1.0.7.tar.bz2"