pkgname=libqalculate pkgver=2.2.1 pkgrel=1 pkgdesc="Multi-purpose desktop calculator" arch=('x86_64') url="http://qalculate.sourceforge.net/" license=('GPL') depends=('libxml2' 'curl' 'mpfr' 'icu') makedepends=('intltool') optdepends=('gnuplot: for plotting support' 'wget: for retrieval of exchange rates (not needed if you use one of the GUI)') source=(https://github.com/Qalculate/libqalculate/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz) sha1sums=('99ca5535c77c0e74533ab8c2c0bb4dfaa4f64f73') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }