summaryrefslogtreecommitdiff
path: root/extra/scribus/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/scribus/PKGBUILD')
-rw-r--r--extra/scribus/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/extra/scribus/PKGBUILD b/extra/scribus/PKGBUILD
index 5af43d7ed..3ad378912 100644
--- a/extra/scribus/PKGBUILD
+++ b/extra/scribus/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 146995 2012-01-20 06:04:00Z remy $
+# $Id: PKGBUILD 148922 2012-02-05 11:56:01Z ibiru $
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: tobias <tobias@archlinux.org>
# Contributor: Ben <ben@benmazer.net>
@@ -6,7 +6,7 @@
pkgname=scribus
pkgver=1.4.0
-pkgrel=1
+pkgrel=2
pkgdesc="A desktop publishing program"
arch=('i686' 'x86_64')
url="http://www.scribus.net"
@@ -23,7 +23,9 @@ sha1sums=('0e3afb98a56084c2938a8402df2d89214c42b809')
build() {
cd "${srcdir}"
- sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' ${pkgname}-${pkgver}/scribus/plugins/scriptplugin/scripts/ColorChart.py
+ sed -i -e 's|#!/usr/bin/python|#!/usr/bin/python2|' \
+ -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+ ${pkgname}-${pkgver}/scribus/plugins/scriptplugin/{samples,scripts}/*
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \