[arch-commits] Commit in clearsilver/trunk (PKGBUILD)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon Dec 23 15:16:06 UTC 2013


    Date: Monday, December 23, 2013 @ 16:16:06
  Author: spupykin
Revision: 102894

upgpkg: clearsilver 0.10.5-12

upd

Modified:
  clearsilver/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-12-23 14:32:34 UTC (rev 102893)
+++ PKGBUILD	2013-12-23 15:16:06 UTC (rev 102894)
@@ -5,7 +5,7 @@
 
 pkgname=clearsilver
 pkgver=0.10.5
-pkgrel=11
+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 @@
 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 at g" scripts/document.py
   sed -i "s at install.rb install at install.rb install --prefix=$pkgdir at g" ruby/Makefile
   patch -p1 <$srcdir/clearsilver-ruby-1.9.patch
@@ -36,7 +32,12 @@
 >     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
 }
 




More information about the arch-commits mailing list