diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-10 03:34:10 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-10 03:34:10 +0000 |
commit | ffe0bbfd85b1341f3b15f809ea92f330d2f7cea3 (patch) | |
tree | cdffed6dff9284dc6ea35a558ec820639918e6cd /extra/gtkmathview/PKGBUILD | |
parent | 22a7afa9198d103fd181636ffff9ded8e066e2e2 (diff) |
Mon Feb 10 03:32:23 UTC 2014
Diffstat (limited to 'extra/gtkmathview/PKGBUILD')
-rw-r--r-- | extra/gtkmathview/PKGBUILD | 45 |
1 files changed, 30 insertions, 15 deletions
diff --git a/extra/gtkmathview/PKGBUILD b/extra/gtkmathview/PKGBUILD index b09710324..d5e123ef6 100644 --- a/extra/gtkmathview/PKGBUILD +++ b/extra/gtkmathview/PKGBUILD @@ -1,33 +1,48 @@ -# $Id: PKGBUILD 198078 2013-10-30 12:40:13Z allan $ +# $Id: PKGBUILD 205608 2014-02-09 10:29:40Z andyrtr $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Jan de Groot <jgc@archlinux.org> pkgname=gtkmathview pkgver=0.8.0 -pkgrel=3 +pkgrel=4 pkgdesc="C++ rendering engine for MathML documents" arch=('i686' 'x86_64') url="http://helm.cs.unibo.it/mml-widget/" -license=('GPL') -depends=('popt' 'gtk2' 't1lib' 'gmetadom') -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') +license=('LGPL3') +depends=('popt' 'gtk2' 't1lib' 'gmetadom' 'pangox-compat') +source=(http://helm.cs.unibo.it/mml-widget/sources/${pkgname}-${pkgver}.tar.gz + gtkmathview-0.8.0-gcc43.patch + gtkmathview-0.8.0-cond-t1.patch + gtkmathview-0.8.0-gcc47.patch + gtkmathview-0.8.0-includes.patch) md5sums=('b53564e553728d4b69f7d366dfeb5299' - '9fd261db865336c89ebf0f3545af9bc4' - 'a79a27e00908e75712bc9453b669fe61') + '92eb2870c1922cbebd5566900cde220b' + 'a79a27e00908e75712bc9453b669fe61' + '8c8620aee002b30975e1e175ef9af7a7' + '4fc8daefbf27d49067b0c66bba54f428') -build() { - cd ${srcdir}/${pkgname}-${pkgver} - patch -Np1 -i ${srcdir}/gtkmathview-0.8.0-gcc44.patch +prepare() { + cd ${pkgname}-${pkgver} + patch -Np1 -i ${srcdir}/gtkmathview-0.8.0-gcc43.patch + patch -Np1 -i ${srcdir}/gtkmathview-0.8.0-gcc47.patch + patch -Np1 -i ${srcdir}/gtkmathview-0.8.0-includes.patch patch -Np1 -i ${srcdir}/gtkmathview-0.8.0-cond-t1.patch + + # AM_BINRELOC missing, just ignore + echo 'AC_DEFUN([AM_BINRELOC], [])' > acinclude.m4 + autoreconf -if +} + +build() { + cd ${pkgname}-${pkgver} ./configure --prefix=/usr \ - --sysconfdir=/etc - make + --sysconfdir=/etc \ + --disable-static + make LIBTOOL=/usr/bin/libtool } package() { - cd ${srcdir}/${pkgname}-${pkgver} + cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir}/ install } |