summaryrefslogtreecommitdiff
path: root/community/clearsilver/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/clearsilver/PKGBUILD')
-rw-r--r--community/clearsilver/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/community/clearsilver/PKGBUILD b/community/clearsilver/PKGBUILD
index f14fc444e..6113d7352 100644
--- a/community/clearsilver/PKGBUILD
+++ b/community/clearsilver/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 100140 2013-11-01 20:22:07Z spupykin $
+# $Id: PKGBUILD 102895 2013-12-23 15:16:31Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer : Aaron Griffin <aaron@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=clearsilver
pkgver=0.10.5
-pkgrel=10
+pkgrel=12
pkgdesc="clearsilver is a fast, powerful, and language-neutral HTML template system"
arch=('i686' 'x86_64')
url='http://www.clearsilver.net'
@@ -17,12 +17,8 @@ source=("http://www.clearsilver.net/downloads/$pkgname-$pkgver.tar.gz"
md5sums=('b8c0c7fbe0ef5e06e0c935f134304d44'
'd9db4e5985254e1b0d63e9ff042773f4')
-build()
-{
+prepare() {
cd $srcdir/$pkgname-$pkgver
-
- ./configure --disable-csharp --prefix=/usr --with-python=/usr/bin/python2
-
sed -i "s@/usr/local/bin/python@/usr/bin/env python2@g" scripts/document.py
sed -i "s@install.rb install@install.rb install --prefix=$pkgdir@g" ruby/Makefile
patch -p1 <$srcdir/clearsilver-ruby-1.9.patch
@@ -36,7 +32,12 @@ build()
> versite = subprefix.call(c['vendorlibdir'])
> sodir = subprefix.call(c['vendorarchdir'])
EOF
+ sed -i 's|LIBRARIES = inserted + LIBRARIES|LIBRARIES = LIBRARIES + inserted|' python/setup.py
+}
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --disable-csharp --prefix=/usr --with-python=/usr/bin/python2
make
}