PKGBUILDs/extra/genius/PKGBUILD
2009-10-09 21:23:22 -05:00

28 lines
1.1 KiB
Bash

# $Id: PKGBUILD 42955 2009-06-19 04:31:47Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Arjan Timmerman <arjan@soulfly.nl>
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
}