# $Id: PKGBUILD 42955 2009-06-19 04:31:47Z allan $ # Maintainer: Jan de Groot # Contributor: Arjan Timmerman pkgname=genius pkgver=1.0.6 pkgrel=2 pkgdesc="Advanced calculator including a mathematical programming language" arch=(i686 x86_64) license=('GPL') url="http://www.jirka.org/genius.html" depends=('gmp>=4.2.4' 'vte>=0.20.0' 'gtksourceview2>=2.6.0' 'mpfr>=2.3.2' 'desktop-file-utils' 'shared-mime-info' 'gnome-vfs>=2.24.1') makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils>=0.16.0') options=('!libtool' '!makeflags') install=genius.install source=(http://ftp.gnome.org/pub/GNOME/sources/genius/1.0/${pkgname}-${pkgver}.tar.bz2) md5sums=('9253dfa2490ff5fda0c118d9322c6608') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc \ --libexecdir=/usr/lib/genius \ --localstatedir=/var --disable-static \ --enable-gtksourceview --disable-scrollkeeper \ --disable-update-mimedb || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 }