diff options
Diffstat (limited to 'extra/inkscape/PKGBUILD')
-rw-r--r-- | extra/inkscape/PKGBUILD | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/extra/inkscape/PKGBUILD b/extra/inkscape/PKGBUILD index 0cac6f681..2a84bb35e 100644 --- a/extra/inkscape/PKGBUILD +++ b/extra/inkscape/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 211635 2014-04-22 02:11:15Z bisson $ +# $Id: PKGBUILD 212156 2014-05-09 14:50:58Z andyrtr $ # Maintainer: Gaetan Bisson <bisson@archlinux.org> # Contributor: Tobias Kieslich <tobias@justdreams.de> # Contributor: tobias <tobias@archlinux.org> pkgname=inkscape pkgver=0.48.4 -pkgrel=14 +pkgrel=15 pkgdesc='Vector graphics editor using the SVG file format' url='http://inkscape.sourceforge.net/' license=('GPL' 'LGPL') @@ -22,21 +22,24 @@ source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver 'spuriouscomma.patch' 'ime-placement.patch' 'freetype.patch' - 'gc74.patch') + 'gc74.patch' + 'poppler-0.26.patch') sha1sums=('5f26f6ad191d1e7c2a9fb69a438722beb172224c' '7d1d5a6d1d2b0926721a994d5889c52890fc57c1' 'b12b948ca5ee7e02703a13aa8b8bccdf67947f12' 'aba4d98bebae088c3401fd9259ea3cf70b96fbbf' - '3e1b5b6852d668388a857bc7a73fb7731fb262b8') + '3e1b5b6852d668388a857bc7a73fb7731fb262b8' + 'b60843f43e6d3b6cfcf4e253abb3f7ea7bc69c2a') install=install prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} patch -p1 -i ../gc74.patch # FS#39106 patch -p0 -i ../freetype.patch # FS#37956 patch -p1 -i ../ime-placement.patch # FS#39898 patch -p0 -i ../spuriouscomma.patch + patch -p0 -i ../poppler-0.26.patch sed -i 's|/usr/bin/python\>|/usr/bin/python2|g' cxxtest/*.py sed -i 's|/usr/bin/env python\>|/usr/bin/env python2|g' share/*/{test/,}*.py sed -i 's|"python" },|"python2" },|g' src/extension/implementation/script.cpp @@ -47,7 +50,7 @@ prepare() { } build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} ./configure \ --prefix=/usr \ --with-python \ @@ -59,6 +62,6 @@ build() { } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install } |