summaryrefslogtreecommitdiff
path: root/extra/gtkmathview/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gtkmathview/PKGBUILD')
-rw-r--r--extra/gtkmathview/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/gtkmathview/PKGBUILD b/extra/gtkmathview/PKGBUILD
new file mode 100644
index 000000000..6c41553a3
--- /dev/null
+++ b/extra/gtkmathview/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 42290 2009-06-12 15:51:28Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Jan de Groot <jgc@archlinux.org>
+
+pkgname=gtkmathview
+pkgver=0.8.0
+pkgrel=2
+pkgdesc="C++ rendering engine for MathML documents"
+arch=('i686' 'x86_64' 'mips64el')
+url="http://helm.cs.unibo.it/mml-widget/"
+license=('GPL')
+depends=('popt' 'gtk2' 't1lib' 'gmetadom>=0.2.6')
+options=('!libtool')
+source=(http://helm.cs.unibo.it/mml-widget/sources/${pkgname}-${pkgver}.tar.gz
+ gtkmathview-0.8.0-gcc44.patch
+ gtkmathview-0.8.0-cond-t1.patch)
+md5sums=('b53564e553728d4b69f7d366dfeb5299'
+ '9fd261db865336c89ebf0f3545af9bc4'
+ 'a79a27e00908e75712bc9453b669fe61')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -Np1 -i ${srcdir}/gtkmathview-0.8.0-gcc44.patch || return 1
+ patch -Np1 -i ${srcdir}/gtkmathview-0.8.0-cond-t1.patch || return 1
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc
+ make || return 1
+ make DESTDIR=${pkgdir}/ install
+}
+