diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/genius |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/genius')
-rw-r--r-- | extra/genius/PKGBUILD | 32 | ||||
-rw-r--r-- | extra/genius/genius.install | 13 |
2 files changed, 45 insertions, 0 deletions
diff --git a/extra/genius/PKGBUILD b/extra/genius/PKGBUILD new file mode 100644 index 000000000..48afa7f0c --- /dev/null +++ b/extra/genius/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 100391 2010-11-23 05:28:18Z heftig $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Arjan Timmerman <arjan@soulfly.nl> + +pkgname=genius +pkgver=1.0.12 +pkgrel=1 +pkgdesc="Advanced calculator including a mathematical programming language" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.jirka.org/genius.html" +depends=('vte>=0.26.2' 'gtksourceview2>=2.10.5' 'mpfr>=3.0.0' 'desktop-file-utils' 'hicolor-icon-theme') +makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils>=0.20.0') +options=('!libtool' '!makeflags') +install=genius.install +source=(http://ftp.gnome.org/pub/GNOME/sources/genius/1.0/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('e94f92474140d1549f44cd84a09e62760f4e0e6af555c565559d132556f5fde4') + +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 + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/extra/genius/genius.install b/extra/genius/genius.install new file mode 100644 index 000000000..45931222a --- /dev/null +++ b/extra/genius/genius.install @@ -0,0 +1,13 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-mime-database usr/share/mime +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |