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, 12 insertions, 3 deletions
diff --git a/community/clearsilver/PKGBUILD b/community/clearsilver/PKGBUILD
index 0f19cd85c..441d1f08b 100644
--- a/community/clearsilver/PKGBUILD
+++ b/community/clearsilver/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 27254 2010-09-18 22:01:47Z schuay $
+# $Id: PKGBUILD 64605 2012-02-17 02:32:25Z 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=7
+pkgrel=8
pkgdesc="clearsilver is a fast, powerful, and language-neutral HTML template system"
arch=('i686' 'x86_64' 'mips64el')
url='http://www.clearsilver.net'
@@ -23,10 +23,19 @@ build()
./configure --disable-csharp --prefix=/usr --with-python=/usr/bin/python2
- # we all hate broken makefiles... hooray!
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
+ patch -p0 ruby/install.rb <<EOF
+71,73c71,73
+< siteruby = subprefix.call(c['sitedir'])
+< versite = subprefix.call(c['sitelibdir'])
+< sodir = subprefix.call(c['sitearchdir'])
+---
+> siteruby = subprefix.call(c['vendordir'])
+> versite = subprefix.call(c['vendorlibdir'])
+> sodir = subprefix.call(c['vendorarchdir'])
+EOF
make
make PREFIX=$pkgdir DESTDIR=$pkgdir install