summaryrefslogtreecommitdiff
path: root/extra/inkscape/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/inkscape/PKGBUILD')
-rw-r--r--extra/inkscape/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/extra/inkscape/PKGBUILD b/extra/inkscape/PKGBUILD
index 079ca3009..b7266212d 100644
--- a/extra/inkscape/PKGBUILD
+++ b/extra/inkscape/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 143645 2011-11-28 00:27:02Z bisson $
+# $Id: PKGBUILD 148790 2012-02-05 11:50:35Z ibiru $
# Contributor: tobias <tobias@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=inkscape
pkgver=0.48.2
-pkgrel=5
+pkgrel=6
pkgdesc='Vector graphics editor using the SVG file format'
url='http://inkscape.sourceforge.net/'
arch=('i686' 'x86_64')
@@ -20,8 +20,10 @@ optdepends=('pstoedit: latex formulas'
'pyxml: some extensions'
'uniconvertor: reading/writing to some proprietary formats')
options=('!libtool')
-source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha1sums=('422a4bacd4dc42adafa203244bc9816783cba4d3')
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+ 'libpng15.patch')
+sha1sums=('422a4bacd4dc42adafa203244bc9816783cba4d3'
+ 'd6512f3cb38ca8e2436dc485aa652490d17b3a52')
install=install
@@ -34,6 +36,8 @@ build() {
sed -i 's|python -c|python2 -c|g' configure share/extensions/uniconv*.py
sed -i 's|"python"|"python2"|g' src/main.cpp
+ patch -p1 -i ../libpng15.patch
+
./configure --prefix=/usr \
--with-python \
--with-perl \