diff options
author | root <root@rshg054.dnsready.net> | 2012-12-23 02:16:24 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-23 02:16:24 -0800 |
commit | 529672e261386840882f17eeb9b27f16ffd30e18 (patch) | |
tree | 09276aef7dfdb6fafba733b3bb620b5faac69847 /extra/graphite/PKGBUILD | |
parent | 0f92922979ec1f52c580079a4a49a7dc84af4ca1 (diff) |
Sun Dec 23 02:15:27 PST 2012
Diffstat (limited to 'extra/graphite/PKGBUILD')
-rw-r--r-- | extra/graphite/PKGBUILD | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/extra/graphite/PKGBUILD b/extra/graphite/PKGBUILD index 21b6ae5eb..b46e5f298 100644 --- a/extra/graphite/PKGBUILD +++ b/extra/graphite/PKGBUILD @@ -1,31 +1,37 @@ -# $Id: PKGBUILD 142675 2011-11-12 18:27:50Z ibiru $ +# $Id: PKGBUILD 173763 2012-12-22 16:44:26Z andyrtr $ # Maintainer: AndyRTR <andyrtr@archlinux.org> pkgname=graphite -pkgver=1.0.3 +pkgver=1.2.0 pkgrel=1 epoch=1 arch=('i686' 'x86_64') -url="http://graphite.sil.org/" +url="http://projects.palaso.org/projects/graphitedev" pkgdesc='reimplementation of the SIL Graphite text processing engine' -license=('custom_SIL Dual license') +license=('LGPL' 'GPL' 'custom') depends=('gcc-libs') -makedepends=('cmake' 'freetype2') +makedepends=('cmake' 'freetype2' 'python2') +# 'doxygen' 'texlive-latexextra' 'graphviz' 'asciidoc' 'perl-module-build' 'icu') - only for docs - target doesn't install properly options=('!libtool' '!emptydirs') source=("http://downloads.sourceforge.net/project/silgraphite/graphite2/graphite2-${pkgver}.tgz") -md5sums=('3bf481ca95109b14435125c0dd1f2217') +md5sums=('f5ef3f7f10fa8c3542c6a085a233080b') build() { cd "${srcdir}" + sed -i "s:\/usr\/bin\/python:\/usr\/bin\/python2:" graphite2-${pkgver}/tests/{jsoncmp,fuzztest,defuzz,corrupt.py} mkdir build cd build cmake -G "Unix Makefiles" ../graphite2-${pkgver} \ - -DCMAKE_INSTALL_PREFIX=/usr + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE:STRING=Release \ + -DGRAPHITE2_COMPARE_RENDERER=OFF make + make docs } check() { cd "${srcdir}"/build + sed -i "s:python:python2:g" tests/CTestTestfile.cmake ctest } |