# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=mate-calc pkgver=1.21.0 pkgrel=0 pkgdesc="Calculator for MATE" url="https://github.com/mate-desktop/mate-calc" arch="all" license="GPL-2.0" depends="mate-common" makedepends="itstool libtool intltool gtk+3.0-dev libxml2-utils libxml2-dev" subpackages="$pkgname-lang $pkgname-doc" source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --sysconfdir=/etc \ --prefix=/usr make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="${pkgdir}" install } sha512sums="ea91f1747332d66fffda93ffd7bca966bc40455f0adcc819033dd032e8e61d16b8e5dff48946288173806d6cb51d2a7b47e7f33125cf5188ba27a9a465ad93eb mate-calc-1.21.0.tar.xz"