pkgname=mate-calc pkgver=2011.12.01 pkgrel=1 pkgdesc="Calculator for the Mate desktop environment" arch=('i686' 'x86_64') license=('LGPL' 'GPL') depends=('gtk2' 'libxml2' 'libpng' 'freetype2' 'pixman' 'glib' 'pango' 'gdk-pixbuf2' 'cairo' 'atk') makedepends=('pkgconfig' 'mate-doc-utils') groups=('mate-extra') url="http://matsusoft.com.ar/projects" source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download) sha256sums=('e4b34f353454f79d73c5edd7efccf7f87027de82ed325ed9f7c31ed6f3bab755') build() { cd "${srcdir}/${pkgname}" ./autogen.sh --prefix=/usr || return 1 make || return 1 } package() { cd "${srcdir}/${pkgname}" make DESTDIR="${pkgdir}" install || return 1 }