summaryrefslogtreecommitdiff
path: root/community/clearsilver/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/clearsilver/PKGBUILD
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/clearsilver/PKGBUILD')
-rw-r--r--community/clearsilver/PKGBUILD55
1 files changed, 0 insertions, 55 deletions
diff --git a/community/clearsilver/PKGBUILD b/community/clearsilver/PKGBUILD
deleted file mode 100644
index 963483b52..000000000
--- a/community/clearsilver/PKGBUILD
+++ /dev/null
@@ -1,55 +0,0 @@
-# $Id: PKGBUILD 86874 2013-03-23 23:10:33Z td123 $
-# 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=9
-pkgdesc="clearsilver is a fast, powerful, and language-neutral HTML template system"
-arch=('i686' 'x86_64')
-url='http://www.clearsilver.net'
-license=('custom')
-depends=('python2' 'perl' 'ruby' 'java-runtime')
-options=('!emptydirs')
-source=("http://www.clearsilver.net/downloads/$pkgname-$pkgver.tar.gz"
- "clearsilver-ruby-1.9.patch")
-md5sums=('b8c0c7fbe0ef5e06e0c935f134304d44'
- 'd9db4e5985254e1b0d63e9ff042773f4')
-
-build()
-{
- 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
- 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
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- make PREFIX=$pkgdir DESTDIR=$pkgdir install
-
- install -Dm644 CS_LICENSE $pkgdir/usr/share/licenses/clearsilver/license.txt
- rm -rf $pkgdir/usr/lib/perl5/5.8.8/
-
- mv $pkgdir/usr/man/man3/* $pkgdir/usr/share/man/man3/
- rm -rf $pkgdir/usr/man
-
- find $pkgdir -name '.packlist' -delete
- find $pkgdir -name '*.pod' -delete
-}