summaryrefslogtreecommitdiff
path: root/community/clearsilver/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-17 16:22:58 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-17 16:22:58 -0300
commit184903e07aa7b573b0acf162424afc969c07bd4b (patch)
tree538ba187cfb866efc3e1bb23be668882b8a5bb44 /community/clearsilver/PKGBUILD
parent3138d10936c63dc6444ac0dc55dd08b722b82309 (diff)
parent68998b64e2d81f7e77184b7f23ee141da1d0e2ff (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/hostapd/PKGBUILD community-testing/hostapd/config.bz2 community-testing/hostapd/hostap_allow-linking-with-libnl-3.2.patch community-testing/hostapd/hostapd community-testing/hostapd/hostapd.conf.d community-testing/hostapd/hostapd.install community-testing/ipvsadm/PKGBUILD community-testing/ipvsadm/ipvsadm.conf community-testing/ipvsadm/ipvsadm.rc community-testing/ipvsadm/ipvsadm.rules community-testing/keepalived/PKGBUILD community-testing/keepalived/ip_vs_moved.patch community-testing/keepalived/keepalived.conf community-testing/keepalived/keepalived.rc community-testing/knemo/PKGBUILD community-testing/knemo/knemo.install community-testing/simh/LICENSE community-testing/simh/PKGBUILD community-testing/simh/simh.install community/fityk/PKGBUILD community/ruby-gtk2/PKGBUILD community/sage-mathematics/PKGBUILD community/xylib/PKGBUILD core/kmod/0001-libkmod-module-probe-fix-infinite-loop-with-softdeps.patch extra/kradio/PKGBUILD extra/phonon-gstreamer/PKGBUILD extra/phonon-vlc/PKGBUILD testing/bluez/PKGBUILD testing/bluez/bluetooth.conf.d testing/bluez/fix-a2dp.patch testing/bluez/rc.bluetooth testing/crda/PKGBUILD testing/crda/crda.install testing/crda/crda.rc testing/crda/libnl32.patch testing/iw/PKGBUILD testing/kismet/PKGBUILD testing/kismet/kismet.changelog testing/kismet/kismet.install testing/libnl/PKGBUILD testing/libnl1/PKGBUILD testing/libnl1/fix-compilation.patch testing/libpcap/PKGBUILD testing/libpcap/libnl32.patch testing/net-snmp/PKGBUILD testing/net-snmp/libnl32.patch testing/net-snmp/snmpd.confd testing/net-snmp/snmpd.rc testing/networkmanager/NetworkManager.conf testing/networkmanager/PKGBUILD testing/networkmanager/disable_set_hostname.patch testing/networkmanager/networkmanager.install testing/ntrack/PKGBUILD testing/ntrack/libnl3.patch testing/wpa_supplicant/PKGBUILD testing/wpa_supplicant/config testing/wpa_supplicant/dbus.patch testing/wpa_supplicant/hostap_allow-linking-with-libnl-3.2.patch
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