[arch-commits] Commit in clearsilver/repos (8 files)

2017-08-26 Thread Evangelos Foutras
Date: Saturday, August 26, 2017 @ 11:42:41
  Author: foutrelis
Revision: 253881

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  clearsilver/repos/community-staging-i686/
  clearsilver/repos/community-staging-i686/PKGBUILD
(from rev 253880, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-staging-i686/c99.patch
(from rev 253880, clearsilver/trunk/c99.patch)
  clearsilver/repos/community-staging-i686/clearsilver-ruby-1.9.patch
(from rev 253880, clearsilver/trunk/clearsilver-ruby-1.9.patch)
  clearsilver/repos/community-staging-x86_64/
  clearsilver/repos/community-staging-x86_64/PKGBUILD
(from rev 253880, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-staging-x86_64/c99.patch
(from rev 253880, clearsilver/trunk/c99.patch)
  clearsilver/repos/community-staging-x86_64/clearsilver-ruby-1.9.patch
(from rev 253880, clearsilver/trunk/clearsilver-ruby-1.9.patch)

-+
 community-staging-i686/PKGBUILD |   79 +
 community-staging-i686/c99.patch|   23 +
 community-staging-i686/clearsilver-ruby-1.9.patch   |  244 ++
 community-staging-x86_64/PKGBUILD   |   79 +
 community-staging-x86_64/c99.patch  |   23 +
 community-staging-x86_64/clearsilver-ruby-1.9.patch |  244 ++
 6 files changed, 692 insertions(+)

Copied: clearsilver/repos/community-staging-i686/PKGBUILD (from rev 253880, 
clearsilver/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-08-26 11:42:41 UTC (rev 253881)
@@ -0,0 +1,79 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Maintainer : Aaron Griffin 
+# Contributor: William Rea 
+
+pkgname=clearsilver
+pkgver=0.10.5
+pkgrel=25
+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')
+makedepends=('java-environment')
+options=('!emptydirs' 'staticlibs')
+source=("http://www.clearsilver.net/downloads/$pkgname-$pkgver.tar.gz";
+"clearsilver-ruby-1.9.patch"
+"c99.patch")
+md5sums=('b8c0c7fbe0ef5e06e0c935f134304d44'
+ 'd9db4e5985254e1b0d63e9ff042773f4'
+ '18b9bf6755786f202b25477b5e882792')
+
+prepare() {
+  cd "$srcdir"/$pkgname-$pkgver
+  sed -i "s@/usr/local/bin/python@/usr/bin/env python2@g" scripts/document.py
+  sed -i "s...@install.rb inst...@install.rb install --prefix="$pkgdir"@g" 
ruby/Makefile
+  patch -p1 <"$srcdir"/clearsilver-ruby-1.9.patch
+  patch -p1 <"$srcdir"/c99.patch
+  patch -p0 ruby/install.rb < siteruby   = subprefix.call(c['vendordir'])
+> versite= subprefix.call(c['vendorlibdir'])
+> sodir  = subprefix.call(c['vendorarchdir'])
+EOF
+  sed -i 's|LIBRARIES = inserted + LIBRARIES|LIBRARIES = LIBRARIES + 
inserted|' python/setup.py
+
+  # fix for ruby 2.2
+  sed -i 's|::Config::|RbConfig::|g' ruby/install.rb
+  if [ $CARCH == "x86_64" ]; then
+sed -i 's|-2128917020|2166050276|' cs/test_crc.cs.gold
+  fi
+}
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  export PERL_MM_OPT='INSTALLDIRS=vendor'
+  ./configure --disable-csharp --prefix=/usr --with-python=/usr/bin/python2
+  make
+}
+
+check() {
+  cd "$srcdir"/$pkgname-$pkgver
+  (cd ruby && make testrb)
+  (cd perl && make test)
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  make PREFIX="$pkgdir" DESTDIR="$pkgdir" install
+
+  install -Dm644 CS_LICENSE 
"$pkgdir"/usr/share/licenses/clearsilver/license.txt
+  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
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+   _perlver_min=$(perl -e '$v = $^V->{version}; print 
$v->[0].".".($v->[1]);')
+   _perlver_max=$(perl -e '$v = $^V->{version}; print 
$v->[0].".".($v->[1]+1);')
+   depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}

Copied: clearsilver/repos/community-staging-i686/c99.patch (from rev 253880, 
clearsilver/trunk/c99.patch)
===
--- community-staging-i686/c99.patch(rev 0)
+++ community-staging-i686/c99.patch2017-08-26 11:42:41 UTC (rev 253881)
@@ -0,0 +1,23 @@
+diff -wbBur clearsilver-0.10.5/util/neo_err.h 
clearsilver-0.10.5.my/util/neo_err.h
+--- clearsilver-0.10.5/util/neo_err.h  2007-07-12 07:09:09.0 +0400
 clearsilver-0.10.5.my/util/neo_err.h   2015-06-05 19:06:34.961297962 
+0300
+@@ -84,9 +84,6 @@
+  *  NEOERR fails
+  */
+ #if defined(USE_C99_VARARG_MACROS)
+-#define nerr_ra

[arch-commits] Commit in clearsilver/repos (8 files)

2017-08-24 Thread Evangelos Foutras
Date: Thursday, August 24, 2017 @ 12:57:24
  Author: foutrelis
Revision: 253200

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  clearsilver/repos/community-staging-i686/
  clearsilver/repos/community-staging-i686/PKGBUILD
(from rev 253199, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-staging-i686/c99.patch
(from rev 253199, clearsilver/trunk/c99.patch)
  clearsilver/repos/community-staging-i686/clearsilver-ruby-1.9.patch
(from rev 253199, clearsilver/trunk/clearsilver-ruby-1.9.patch)
  clearsilver/repos/community-staging-x86_64/
  clearsilver/repos/community-staging-x86_64/PKGBUILD
(from rev 253199, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-staging-x86_64/c99.patch
(from rev 253199, clearsilver/trunk/c99.patch)
  clearsilver/repos/community-staging-x86_64/clearsilver-ruby-1.9.patch
(from rev 253199, clearsilver/trunk/clearsilver-ruby-1.9.patch)

-+
 community-staging-i686/PKGBUILD |   79 +
 community-staging-i686/c99.patch|   23 +
 community-staging-i686/clearsilver-ruby-1.9.patch   |  244 ++
 community-staging-x86_64/PKGBUILD   |   79 +
 community-staging-x86_64/c99.patch  |   23 +
 community-staging-x86_64/clearsilver-ruby-1.9.patch |  244 ++
 6 files changed, 692 insertions(+)

Copied: clearsilver/repos/community-staging-i686/PKGBUILD (from rev 253199, 
clearsilver/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-08-24 12:57:24 UTC (rev 253200)
@@ -0,0 +1,79 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Maintainer : Aaron Griffin 
+# Contributor: William Rea 
+
+pkgname=clearsilver
+pkgver=0.10.5
+pkgrel=24
+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')
+makedepends=('java-environment')
+options=('!emptydirs' 'staticlibs')
+source=("http://www.clearsilver.net/downloads/$pkgname-$pkgver.tar.gz";
+"clearsilver-ruby-1.9.patch"
+"c99.patch")
+md5sums=('b8c0c7fbe0ef5e06e0c935f134304d44'
+ 'd9db4e5985254e1b0d63e9ff042773f4'
+ '18b9bf6755786f202b25477b5e882792')
+
+prepare() {
+  cd "$srcdir"/$pkgname-$pkgver
+  sed -i "s@/usr/local/bin/python@/usr/bin/env python2@g" scripts/document.py
+  sed -i "s...@install.rb inst...@install.rb install --prefix="$pkgdir"@g" 
ruby/Makefile
+  patch -p1 <"$srcdir"/clearsilver-ruby-1.9.patch
+  patch -p1 <"$srcdir"/c99.patch
+  patch -p0 ruby/install.rb < siteruby   = subprefix.call(c['vendordir'])
+> versite= subprefix.call(c['vendorlibdir'])
+> sodir  = subprefix.call(c['vendorarchdir'])
+EOF
+  sed -i 's|LIBRARIES = inserted + LIBRARIES|LIBRARIES = LIBRARIES + 
inserted|' python/setup.py
+
+  # fix for ruby 2.2
+  sed -i 's|::Config::|RbConfig::|g' ruby/install.rb
+  if [ $CARCH == "x86_64" ]; then
+sed -i 's|-2128917020|2166050276|' cs/test_crc.cs.gold
+  fi
+}
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  export PERL_MM_OPT='INSTALLDIRS=vendor'
+  ./configure --disable-csharp --prefix=/usr --with-python=/usr/bin/python2
+  make
+}
+
+check() {
+  cd "$srcdir"/$pkgname-$pkgver
+  (cd ruby && make testrb)
+  (cd perl && make test)
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  make PREFIX="$pkgdir" DESTDIR="$pkgdir" install
+
+  install -Dm644 CS_LICENSE 
"$pkgdir"/usr/share/licenses/clearsilver/license.txt
+  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
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+   _perlver_min=$(perl -e '$v = $^V->{version}; print 
$v->[0].".".($v->[1]);')
+   _perlver_max=$(perl -e '$v = $^V->{version}; print 
$v->[0].".".($v->[1]+1);')
+   depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}

Copied: clearsilver/repos/community-staging-i686/c99.patch (from rev 253199, 
clearsilver/trunk/c99.patch)
===
--- community-staging-i686/c99.patch(rev 0)
+++ community-staging-i686/c99.patch2017-08-24 12:57:24 UTC (rev 253200)
@@ -0,0 +1,23 @@
+diff -wbBur clearsilver-0.10.5/util/neo_err.h 
clearsilver-0.10.5.my/util/neo_err.h
+--- clearsilver-0.10.5/util/neo_err.h  2007-07-12 07:09:09.0 +0400
 clearsilver-0.10.5.my/util/neo_err.h   2015-06-05 19:06:34.961297962 
+0300
+@@ -84,9 +84,6 @@
+  *  NEOERR fails
+  */
+ #if defined(USE_C99_VARARG_MACROS)
+-#define nerr_ra

[arch-commits] Commit in clearsilver/repos (8 files)

2017-06-01 Thread Evangelos Foutras
Date: Thursday, June 1, 2017 @ 08:51:43
  Author: foutrelis
Revision: 231824

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  clearsilver/repos/community-staging-i686/
  clearsilver/repos/community-staging-i686/PKGBUILD
(from rev 231821, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-staging-i686/c99.patch
(from rev 231821, clearsilver/trunk/c99.patch)
  clearsilver/repos/community-staging-i686/clearsilver-ruby-1.9.patch
(from rev 231821, clearsilver/trunk/clearsilver-ruby-1.9.patch)
  clearsilver/repos/community-staging-x86_64/
  clearsilver/repos/community-staging-x86_64/PKGBUILD
(from rev 231822, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-staging-x86_64/c99.patch
(from rev 231822, clearsilver/trunk/c99.patch)
  clearsilver/repos/community-staging-x86_64/clearsilver-ruby-1.9.patch
(from rev 231822, clearsilver/trunk/clearsilver-ruby-1.9.patch)

-+
 community-staging-i686/PKGBUILD |   79 +
 community-staging-i686/c99.patch|   23 +
 community-staging-i686/clearsilver-ruby-1.9.patch   |  244 ++
 community-staging-x86_64/PKGBUILD   |   79 +
 community-staging-x86_64/c99.patch  |   23 +
 community-staging-x86_64/clearsilver-ruby-1.9.patch |  244 ++
 6 files changed, 692 insertions(+)

Copied: clearsilver/repos/community-staging-i686/PKGBUILD (from rev 231821, 
clearsilver/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-06-01 08:51:43 UTC (rev 231824)
@@ -0,0 +1,79 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Maintainer : Aaron Griffin 
+# Contributor: William Rea 
+
+pkgname=clearsilver
+pkgver=0.10.5
+pkgrel=22
+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')
+makedepends=('java-environment')
+options=('!emptydirs' 'staticlibs')
+source=("http://www.clearsilver.net/downloads/$pkgname-$pkgver.tar.gz";
+"clearsilver-ruby-1.9.patch"
+"c99.patch")
+md5sums=('b8c0c7fbe0ef5e06e0c935f134304d44'
+ 'd9db4e5985254e1b0d63e9ff042773f4'
+ '18b9bf6755786f202b25477b5e882792')
+
+prepare() {
+  cd "$srcdir"/$pkgname-$pkgver
+  sed -i "s@/usr/local/bin/python@/usr/bin/env python2@g" scripts/document.py
+  sed -i "s...@install.rb inst...@install.rb install --prefix="$pkgdir"@g" 
ruby/Makefile
+  patch -p1 <"$srcdir"/clearsilver-ruby-1.9.patch
+  patch -p1 <"$srcdir"/c99.patch
+  patch -p0 ruby/install.rb < siteruby   = subprefix.call(c['vendordir'])
+> versite= subprefix.call(c['vendorlibdir'])
+> sodir  = subprefix.call(c['vendorarchdir'])
+EOF
+  sed -i 's|LIBRARIES = inserted + LIBRARIES|LIBRARIES = LIBRARIES + 
inserted|' python/setup.py
+
+  # fix for ruby 2.2
+  sed -i 's|::Config::|RbConfig::|g' ruby/install.rb
+  if [ $CARCH == "x86_64" ]; then
+sed -i 's|-2128917020|2166050276|' cs/test_crc.cs.gold
+  fi
+}
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  export PERL_MM_OPT='INSTALLDIRS=vendor'
+  ./configure --disable-csharp --prefix=/usr --with-python=/usr/bin/python2
+  make
+}
+
+check() {
+  cd "$srcdir"/$pkgname-$pkgver
+  (cd ruby && make testrb)
+  (cd perl && make test)
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  make PREFIX="$pkgdir" DESTDIR="$pkgdir" install
+
+  install -Dm644 CS_LICENSE 
"$pkgdir"/usr/share/licenses/clearsilver/license.txt
+  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
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+   _perlver_min=$(perl -e '$v = $^V->{version}; print 
$v->[0].".".($v->[1]);')
+   _perlver_max=$(perl -e '$v = $^V->{version}; print 
$v->[0].".".($v->[1]+1);')
+   depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}

Copied: clearsilver/repos/community-staging-i686/c99.patch (from rev 231821, 
clearsilver/trunk/c99.patch)
===
--- community-staging-i686/c99.patch(rev 0)
+++ community-staging-i686/c99.patch2017-06-01 08:51:43 UTC (rev 231824)
@@ -0,0 +1,23 @@
+diff -wbBur clearsilver-0.10.5/util/neo_err.h 
clearsilver-0.10.5.my/util/neo_err.h
+--- clearsilver-0.10.5/util/neo_err.h  2007-07-12 07:09:09.0 +0400
 clearsilver-0.10.5.my/util/neo_err.h   2015-06-05 19:06:34.961297962 
+0300
+@@ -84,9 +84,6 @@
+  *  NEOERR fails
+  */
+ #if defined(USE_C99_VARARG_MACROS)
+-#define nerr_raise

[arch-commits] Commit in clearsilver/repos (8 files)

2017-01-09 Thread Evangelos Foutras
Date: Monday, January 9, 2017 @ 18:13:42
  Author: foutrelis
Revision: 206200

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  clearsilver/repos/community-staging-i686/
  clearsilver/repos/community-staging-i686/PKGBUILD
(from rev 206199, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-staging-i686/c99.patch
(from rev 206199, clearsilver/trunk/c99.patch)
  clearsilver/repos/community-staging-i686/clearsilver-ruby-1.9.patch
(from rev 206199, clearsilver/trunk/clearsilver-ruby-1.9.patch)
  clearsilver/repos/community-staging-x86_64/
  clearsilver/repos/community-staging-x86_64/PKGBUILD
(from rev 206199, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-staging-x86_64/c99.patch
(from rev 206199, clearsilver/trunk/c99.patch)
  clearsilver/repos/community-staging-x86_64/clearsilver-ruby-1.9.patch
(from rev 206199, clearsilver/trunk/clearsilver-ruby-1.9.patch)

-+
 community-staging-i686/PKGBUILD |   79 +
 community-staging-i686/c99.patch|   23 +
 community-staging-i686/clearsilver-ruby-1.9.patch   |  244 ++
 community-staging-x86_64/PKGBUILD   |   79 +
 community-staging-x86_64/c99.patch  |   23 +
 community-staging-x86_64/clearsilver-ruby-1.9.patch |  244 ++
 6 files changed, 692 insertions(+)

Copied: clearsilver/repos/community-staging-i686/PKGBUILD (from rev 206199, 
clearsilver/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-01-09 18:13:42 UTC (rev 206200)
@@ -0,0 +1,79 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Maintainer : Aaron Griffin 
+# Contributor: William Rea 
+
+pkgname=clearsilver
+pkgver=0.10.5
+pkgrel=21
+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')
+makedepends=('java-environment')
+options=('!emptydirs' 'staticlibs')
+source=("http://www.clearsilver.net/downloads/$pkgname-$pkgver.tar.gz";
+"clearsilver-ruby-1.9.patch"
+"c99.patch")
+md5sums=('b8c0c7fbe0ef5e06e0c935f134304d44'
+ 'd9db4e5985254e1b0d63e9ff042773f4'
+ '18b9bf6755786f202b25477b5e882792')
+
+prepare() {
+  cd "$srcdir"/$pkgname-$pkgver
+  sed -i "s@/usr/local/bin/python@/usr/bin/env python2@g" scripts/document.py
+  sed -i "s...@install.rb inst...@install.rb install --prefix="$pkgdir"@g" 
ruby/Makefile
+  patch -p1 <"$srcdir"/clearsilver-ruby-1.9.patch
+  patch -p1 <"$srcdir"/c99.patch
+  patch -p0 ruby/install.rb < siteruby   = subprefix.call(c['vendordir'])
+> versite= subprefix.call(c['vendorlibdir'])
+> sodir  = subprefix.call(c['vendorarchdir'])
+EOF
+  sed -i 's|LIBRARIES = inserted + LIBRARIES|LIBRARIES = LIBRARIES + 
inserted|' python/setup.py
+
+  # fix for ruby 2.2
+  sed -i 's|::Config::|RbConfig::|g' ruby/install.rb
+  if [ $CARCH == "x86_64" ]; then
+sed -i 's|-2128917020|2166050276|' cs/test_crc.cs.gold
+  fi
+}
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  export PERL_MM_OPT='INSTALLDIRS=vendor'
+  ./configure --disable-csharp --prefix=/usr --with-python=/usr/bin/python2
+  make
+}
+
+check() {
+  cd "$srcdir"/$pkgname-$pkgver
+  (cd ruby && make testrb)
+  (cd perl && make test)
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  make PREFIX="$pkgdir" DESTDIR="$pkgdir" install
+
+  install -Dm644 CS_LICENSE 
"$pkgdir"/usr/share/licenses/clearsilver/license.txt
+  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
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+   _perlver_min=$(perl -e '$v = $^V->{version}; print 
$v->[0].".".($v->[1]);')
+   _perlver_max=$(perl -e '$v = $^V->{version}; print 
$v->[0].".".($v->[1]+1);')
+   depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}

Copied: clearsilver/repos/community-staging-i686/c99.patch (from rev 206199, 
clearsilver/trunk/c99.patch)
===
--- community-staging-i686/c99.patch(rev 0)
+++ community-staging-i686/c99.patch2017-01-09 18:13:42 UTC (rev 206200)
@@ -0,0 +1,23 @@
+diff -wbBur clearsilver-0.10.5/util/neo_err.h 
clearsilver-0.10.5.my/util/neo_err.h
+--- clearsilver-0.10.5/util/neo_err.h  2007-07-12 07:09:09.0 +0400
 clearsilver-0.10.5.my/util/neo_err.h   2015-06-05 19:06:34.961297962 
+0300
+@@ -84,9 +84,6 @@
+  *  NEOERR fails
+  */
+ #if defined(USE_C99_VARARG_MACROS)
+-#define nerr_rais

[arch-commits] Commit in clearsilver/repos (8 files)

2016-05-10 Thread Felix Yan
Date: Wednesday, May 11, 2016 @ 08:27:24
  Author: fyan
Revision: 174784

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  clearsilver/repos/community-staging-i686/
  clearsilver/repos/community-staging-i686/PKGBUILD
(from rev 174783, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-staging-i686/c99.patch
(from rev 174783, clearsilver/trunk/c99.patch)
  clearsilver/repos/community-staging-i686/clearsilver-ruby-1.9.patch
(from rev 174783, clearsilver/trunk/clearsilver-ruby-1.9.patch)
  clearsilver/repos/community-staging-x86_64/
  clearsilver/repos/community-staging-x86_64/PKGBUILD
(from rev 174783, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-staging-x86_64/c99.patch
(from rev 174783, clearsilver/trunk/c99.patch)
  clearsilver/repos/community-staging-x86_64/clearsilver-ruby-1.9.patch
(from rev 174783, clearsilver/trunk/clearsilver-ruby-1.9.patch)

-+
 community-staging-i686/PKGBUILD |   79 +
 community-staging-i686/c99.patch|   23 +
 community-staging-i686/clearsilver-ruby-1.9.patch   |  244 ++
 community-staging-x86_64/PKGBUILD   |   79 +
 community-staging-x86_64/c99.patch  |   23 +
 community-staging-x86_64/clearsilver-ruby-1.9.patch |  244 ++
 6 files changed, 692 insertions(+)

Copied: clearsilver/repos/community-staging-i686/PKGBUILD (from rev 174783, 
clearsilver/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-11 06:27:24 UTC (rev 174784)
@@ -0,0 +1,79 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Maintainer : Aaron Griffin 
+# Contributor: William Rea 
+
+pkgname=clearsilver
+pkgver=0.10.5
+pkgrel=20
+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')
+makedepends=('java-environment')
+options=('!emptydirs' 'staticlibs')
+source=("http://www.clearsilver.net/downloads/$pkgname-$pkgver.tar.gz";
+"clearsilver-ruby-1.9.patch"
+"c99.patch")
+md5sums=('b8c0c7fbe0ef5e06e0c935f134304d44'
+ 'd9db4e5985254e1b0d63e9ff042773f4'
+ '18b9bf6755786f202b25477b5e882792')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+  sed -i "s@/usr/local/bin/python@/usr/bin/env python2@g" scripts/document.py
+  sed -i "s...@install.rb inst...@install.rb install --prefix=$pkgdir@g" 
ruby/Makefile
+  patch -p1 <$srcdir/clearsilver-ruby-1.9.patch
+  patch -p1 <$srcdir/c99.patch
+  patch -p0 ruby/install.rb < siteruby   = subprefix.call(c['vendordir'])
+> versite= subprefix.call(c['vendorlibdir'])
+> sodir  = subprefix.call(c['vendorarchdir'])
+EOF
+  sed -i 's|LIBRARIES = inserted + LIBRARIES|LIBRARIES = LIBRARIES + 
inserted|' python/setup.py
+
+  # fix for ruby 2.2
+  sed -i 's|::Config::|RbConfig::|g' ruby/install.rb
+  if [ $CARCH == "x86_64" ]; then
+sed -i 's|-2128917020|2166050276|' cs/test_crc.cs.gold
+  fi
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  export PERL_MM_OPT='INSTALLDIRS=vendor'
+  ./configure --disable-csharp --prefix=/usr --with-python=/usr/bin/python2
+  make
+}
+
+check() {
+  cd $srcdir/$pkgname-$pkgver
+  (cd ruby && make testrb)
+  (cd perl && make test)
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make PREFIX=$pkgdir DESTDIR=$pkgdir install
+
+  install -Dm644 CS_LICENSE $pkgdir/usr/share/licenses/clearsilver/license.txt
+  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
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+   _perlver_min=$(perl -e '$v = $^V->{version}; print 
$v->[0].".".($v->[1]);')
+   _perlver_max=$(perl -e '$v = $^V->{version}; print 
$v->[0].".".($v->[1]+1);')
+   depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}

Copied: clearsilver/repos/community-staging-i686/c99.patch (from rev 174783, 
clearsilver/trunk/c99.patch)
===
--- community-staging-i686/c99.patch(rev 0)
+++ community-staging-i686/c99.patch2016-05-11 06:27:24 UTC (rev 174784)
@@ -0,0 +1,23 @@
+diff -wbBur clearsilver-0.10.5/util/neo_err.h 
clearsilver-0.10.5.my/util/neo_err.h
+--- clearsilver-0.10.5/util/neo_err.h  2007-07-12 07:09:09.0 +0400
 clearsilver-0.10.5.my/util/neo_err.h   2015-06-05 19:06:34.961297962 
+0300
+@@ -84,9 +84,6 @@
+  *  NEOERR fails
+  */
+ #if defined(USE_C99_VARARG_MACROS)
+-#define nerr_raise(e,f,...) \
+-   nerr_raisef(__PRET

[arch-commits] Commit in clearsilver/repos (8 files)

2015-12-28 Thread Evangelos Foutras
Date: Monday, December 28, 2015 @ 22:50:39
  Author: foutrelis
Revision: 154715

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  clearsilver/repos/community-staging-i686/
  clearsilver/repos/community-staging-i686/PKGBUILD
(from rev 154714, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-staging-i686/c99.patch
(from rev 154714, clearsilver/trunk/c99.patch)
  clearsilver/repos/community-staging-i686/clearsilver-ruby-1.9.patch
(from rev 154714, clearsilver/trunk/clearsilver-ruby-1.9.patch)
  clearsilver/repos/community-staging-x86_64/
  clearsilver/repos/community-staging-x86_64/PKGBUILD
(from rev 154714, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-staging-x86_64/c99.patch
(from rev 154714, clearsilver/trunk/c99.patch)
  clearsilver/repos/community-staging-x86_64/clearsilver-ruby-1.9.patch
(from rev 154714, clearsilver/trunk/clearsilver-ruby-1.9.patch)

-+
 community-staging-i686/PKGBUILD |   79 +
 community-staging-i686/c99.patch|   23 +
 community-staging-i686/clearsilver-ruby-1.9.patch   |  244 ++
 community-staging-x86_64/PKGBUILD   |   79 +
 community-staging-x86_64/c99.patch  |   23 +
 community-staging-x86_64/clearsilver-ruby-1.9.patch |  244 ++
 6 files changed, 692 insertions(+)

Copied: clearsilver/repos/community-staging-i686/PKGBUILD (from rev 154714, 
clearsilver/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-28 21:50:39 UTC (rev 154715)
@@ -0,0 +1,79 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Maintainer : Aaron Griffin 
+# Contributor: William Rea 
+
+pkgname=clearsilver
+pkgver=0.10.5
+pkgrel=19
+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')
+makedepends=('java-environment')
+options=('!emptydirs' 'staticlibs')
+source=("http://www.clearsilver.net/downloads/$pkgname-$pkgver.tar.gz";
+"clearsilver-ruby-1.9.patch"
+"c99.patch")
+md5sums=('b8c0c7fbe0ef5e06e0c935f134304d44'
+ 'd9db4e5985254e1b0d63e9ff042773f4'
+ '18b9bf6755786f202b25477b5e882792')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+  sed -i "s@/usr/local/bin/python@/usr/bin/env python2@g" scripts/document.py
+  sed -i "s...@install.rb inst...@install.rb install --prefix=$pkgdir@g" 
ruby/Makefile
+  patch -p1 <$srcdir/clearsilver-ruby-1.9.patch
+  patch -p1 <$srcdir/c99.patch
+  patch -p0 ruby/install.rb < siteruby   = subprefix.call(c['vendordir'])
+> versite= subprefix.call(c['vendorlibdir'])
+> sodir  = subprefix.call(c['vendorarchdir'])
+EOF
+  sed -i 's|LIBRARIES = inserted + LIBRARIES|LIBRARIES = LIBRARIES + 
inserted|' python/setup.py
+
+  # fix for ruby 2.2
+  sed -i 's|::Config::|RbConfig::|g' ruby/install.rb
+  if [ $CARCH == "x86_64" ]; then
+sed -i 's|-2128917020|2166050276|' cs/test_crc.cs.gold
+  fi
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  export PERL_MM_OPT='INSTALLDIRS=vendor'
+  ./configure --disable-csharp --prefix=/usr --with-python=/usr/bin/python2
+  make
+}
+
+check() {
+  cd $srcdir/$pkgname-$pkgver
+  (cd ruby && make testrb)
+  (cd perl && make test)
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make PREFIX=$pkgdir DESTDIR=$pkgdir install
+
+  install -Dm644 CS_LICENSE $pkgdir/usr/share/licenses/clearsilver/license.txt
+  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
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+   _perlver_min=$(perl -e '$v = $^V->{version}; print 
$v->[0].".".($v->[1]);')
+   _perlver_max=$(perl -e '$v = $^V->{version}; print 
$v->[0].".".($v->[1]+1);')
+   depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}

Copied: clearsilver/repos/community-staging-i686/c99.patch (from rev 154714, 
clearsilver/trunk/c99.patch)
===
--- community-staging-i686/c99.patch(rev 0)
+++ community-staging-i686/c99.patch2015-12-28 21:50:39 UTC (rev 154715)
@@ -0,0 +1,23 @@
+diff -wbBur clearsilver-0.10.5/util/neo_err.h 
clearsilver-0.10.5.my/util/neo_err.h
+--- clearsilver-0.10.5/util/neo_err.h  2007-07-12 07:09:09.0 +0400
 clearsilver-0.10.5.my/util/neo_err.h   2015-06-05 19:06:34.961297962 
+0300
+@@ -84,9 +84,6 @@
+  *  NEOERR fails
+  */
+ #if defined(USE_C99_VARARG_MACROS)
+-#define nerr_raise(e,f,...) \
+-   nerr_raisef

[arch-commits] Commit in clearsilver/repos (8 files)

2015-06-05 Thread Sergej Pupykin
Date: Friday, June 5, 2015 @ 18:22:15
  Author: spupykin
Revision: 134844

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  clearsilver/repos/community-staging-i686/
  clearsilver/repos/community-staging-i686/PKGBUILD
(from rev 134843, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-staging-i686/c99.patch
(from rev 134843, clearsilver/trunk/c99.patch)
  clearsilver/repos/community-staging-i686/clearsilver-ruby-1.9.patch
(from rev 134843, clearsilver/trunk/clearsilver-ruby-1.9.patch)
  clearsilver/repos/community-staging-x86_64/
  clearsilver/repos/community-staging-x86_64/PKGBUILD
(from rev 134843, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-staging-x86_64/c99.patch
(from rev 134843, clearsilver/trunk/c99.patch)
  clearsilver/repos/community-staging-x86_64/clearsilver-ruby-1.9.patch
(from rev 134843, clearsilver/trunk/clearsilver-ruby-1.9.patch)

-+
 community-staging-i686/PKGBUILD |   79 +
 community-staging-i686/c99.patch|   23 +
 community-staging-i686/clearsilver-ruby-1.9.patch   |  244 ++
 community-staging-x86_64/PKGBUILD   |   79 +
 community-staging-x86_64/c99.patch  |   23 +
 community-staging-x86_64/clearsilver-ruby-1.9.patch |  244 ++
 6 files changed, 692 insertions(+)

Copied: clearsilver/repos/community-staging-i686/PKGBUILD (from rev 134843, 
clearsilver/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-06-05 16:22:15 UTC (rev 134844)
@@ -0,0 +1,79 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Maintainer : Aaron Griffin 
+# Contributor: William Rea 
+
+pkgname=clearsilver
+pkgver=0.10.5
+pkgrel=18
+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')
+makedepends=('java-environment')
+options=('!emptydirs' 'staticlibs')
+source=("http://www.clearsilver.net/downloads/$pkgname-$pkgver.tar.gz";
+"clearsilver-ruby-1.9.patch"
+"c99.patch")
+md5sums=('b8c0c7fbe0ef5e06e0c935f134304d44'
+ 'd9db4e5985254e1b0d63e9ff042773f4'
+ '18b9bf6755786f202b25477b5e882792')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+  sed -i "s@/usr/local/bin/python@/usr/bin/env python2@g" scripts/document.py
+  sed -i "s...@install.rb inst...@install.rb install --prefix=$pkgdir@g" 
ruby/Makefile
+  patch -p1 <$srcdir/clearsilver-ruby-1.9.patch
+  patch -p1 <$srcdir/c99.patch
+  patch -p0 ruby/install.rb < siteruby   = subprefix.call(c['vendordir'])
+> versite= subprefix.call(c['vendorlibdir'])
+> sodir  = subprefix.call(c['vendorarchdir'])
+EOF
+  sed -i 's|LIBRARIES = inserted + LIBRARIES|LIBRARIES = LIBRARIES + 
inserted|' python/setup.py
+
+  # fix for ruby 2.2
+  sed -i 's|::Config::|RbConfig::|g' ruby/install.rb
+  if [ $CARCH == "x86_64" ]; then
+sed -i 's|-2128917020|2166050276|' cs/test_crc.cs.gold
+  fi
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  export PERL_MM_OPT='INSTALLDIRS=vendor'
+  ./configure --disable-csharp --prefix=/usr --with-python=/usr/bin/python2
+  make
+}
+
+check() {
+  cd $srcdir/$pkgname-$pkgver
+  (cd ruby && make testrb)
+  (cd perl && make test)
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make PREFIX=$pkgdir DESTDIR=$pkgdir install
+
+  install -Dm644 CS_LICENSE $pkgdir/usr/share/licenses/clearsilver/license.txt
+  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
+
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+   _perlver_min=$(perl -e '$v = $^V->{version}; print 
$v->[0].".".($v->[1]);')
+   _perlver_max=$(perl -e '$v = $^V->{version}; print 
$v->[0].".".($v->[1]+1);')
+   depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}

Copied: clearsilver/repos/community-staging-i686/c99.patch (from rev 134843, 
clearsilver/trunk/c99.patch)
===
--- community-staging-i686/c99.patch(rev 0)
+++ community-staging-i686/c99.patch2015-06-05 16:22:15 UTC (rev 134844)
@@ -0,0 +1,23 @@
+diff -wbBur clearsilver-0.10.5/util/neo_err.h 
clearsilver-0.10.5.my/util/neo_err.h
+--- clearsilver-0.10.5/util/neo_err.h  2007-07-12 07:09:09.0 +0400
 clearsilver-0.10.5.my/util/neo_err.h   2015-06-05 19:06:34.961297962 
+0300
+@@ -84,9 +84,6 @@
+  *  NEOERR fails
+  */
+ #if defined(USE_C99_VARARG_MACROS)
+-#define nerr_raise(e,f,...) \
+-   nerr_raisef(__PRE

[arch-commits] Commit in clearsilver/repos (8 files)

2015-05-12 Thread Sergej Pupykin
Date: Tuesday, May 12, 2015 @ 13:29:02
  Author: spupykin
Revision: 133304

archrelease: copy trunk to community-i686, community-x86_64

Added:
  clearsilver/repos/community-i686/PKGBUILD
(from rev 133303, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-i686/clearsilver-ruby-1.9.patch
(from rev 133303, clearsilver/trunk/clearsilver-ruby-1.9.patch)
  clearsilver/repos/community-x86_64/PKGBUILD
(from rev 133303, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-x86_64/clearsilver-ruby-1.9.patch
(from rev 133303, clearsilver/trunk/clearsilver-ruby-1.9.patch)
Deleted:
  clearsilver/repos/community-i686/PKGBUILD
  clearsilver/repos/community-i686/clearsilver-ruby-1.9.patch
  clearsilver/repos/community-x86_64/PKGBUILD
  clearsilver/repos/community-x86_64/clearsilver-ruby-1.9.patch

-+
 /PKGBUILD   |  138 +++
 /clearsilver-ruby-1.9.patch |  488 ++
 community-i686/PKGBUILD |   66 ---
 community-i686/clearsilver-ruby-1.9.patch   |  244 -
 community-x86_64/PKGBUILD   |   66 ---
 community-x86_64/clearsilver-ruby-1.9.patch |  244 -
 6 files changed, 626 insertions(+), 620 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2015-05-12 11:28:48 UTC (rev 133303)
+++ community-i686/PKGBUILD 2015-05-12 11:29:02 UTC (rev 133304)
@@ -1,66 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin 
-# Maintainer : Aaron Griffin 
-# Contributor: William Rea 
-
-pkgname=clearsilver
-pkgver=0.10.5
-pkgrel=16
-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' 'staticlibs')
-source=("http://www.clearsilver.net/downloads/$pkgname-$pkgver.tar.gz";
-"clearsilver-ruby-1.9.patch")
-md5sums=('b8c0c7fbe0ef5e06e0c935f134304d44'
- 'd9db4e5985254e1b0d63e9ff042773f4')
-
-prepare() {
-  cd $srcdir/$pkgname-$pkgver
-  sed -i "s@/usr/local/bin/python@/usr/bin/env python2@g" scripts/document.py
-  sed -i "s...@install.rb inst...@install.rb install --prefix=$pkgdir@g" 
ruby/Makefile
-  patch -p1 <$srcdir/clearsilver-ruby-1.9.patch
-  patch -p0 ruby/install.rb < siteruby   = subprefix.call(c['vendordir'])
-> versite= subprefix.call(c['vendorlibdir'])
-> sodir  = subprefix.call(c['vendorarchdir'])
-EOF
-  sed -i 's|LIBRARIES = inserted + LIBRARIES|LIBRARIES = LIBRARIES + 
inserted|' python/setup.py
-
-  # fix for ruby 2.2
-  sed -i 's|::Config::|RbConfig::|g' ruby/install.rb
-}
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-  export PERL_MM_OPT='INSTALLDIRS=vendor'
-  ./configure --disable-csharp --prefix=/usr --with-python=/usr/bin/python2
-  make
-}
-
-check() {
-  cd $srcdir/$pkgname-$pkgver
-  (cd ruby && make testrb)
-  (cd perl && make test)
-}
-
-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
-}

Copied: clearsilver/repos/community-i686/PKGBUILD (from rev 133303, 
clearsilver/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-05-12 11:29:02 UTC (rev 133304)
@@ -0,0 +1,69 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Maintainer : Aaron Griffin 
+# Contributor: William Rea 
+
+pkgname=clearsilver
+pkgver=0.10.5
+pkgrel=17
+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' 'staticlibs')
+source=("http://www.clearsilver.net/downloads/$pkgname-$pkgver.tar.gz";
+"clearsilver-ruby-1.9.patch")
+md5sums=('b8c0c7fbe0ef5e06e0c935f134304d44'
+ 'd9db4e5985254e1b0d63e9ff042773f4')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+  sed -i "s@/usr/local/bin/python@/usr/bin/env python2@g" scripts/document.py
+  sed -i "s...@install.rb inst...@install.rb install --prefix=$pkgdir@g" 
ruby/Makefile
+  patch -p1 <$srcdir/clearsilver-ruby-1.9.patch
+  patch -p0 ruby/install.rb < siteruby   = subprefix.call(c['vendordir'])
+> versite= subprefix.call(c['vendorlibdir'])
+> sodir  = subprefix.call(c['vendorarchdir'])
+EOF
+  sed -i 's|LIBRARIES = inserted + LIBRARIES|LIBRARIES = LIBRARIES + 
inserted|' python/setup.py
+
+  # fix for ruby 2.2
+  sed -i 's|::Config::|RbConfig::|g'

[arch-commits] Commit in clearsilver/repos (8 files)

2014-06-11 Thread Sergej Pupykin
Date: Wednesday, June 11, 2014 @ 16:49:15
  Author: spupykin
Revision: 113031

archrelease: copy trunk to community-i686, community-x86_64

Added:
  clearsilver/repos/community-i686/PKGBUILD
(from rev 113030, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-i686/clearsilver-ruby-1.9.patch
(from rev 113030, clearsilver/trunk/clearsilver-ruby-1.9.patch)
  clearsilver/repos/community-x86_64/PKGBUILD
(from rev 113030, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-x86_64/clearsilver-ruby-1.9.patch
(from rev 113030, clearsilver/trunk/clearsilver-ruby-1.9.patch)
Deleted:
  clearsilver/repos/community-i686/PKGBUILD
  clearsilver/repos/community-i686/clearsilver-ruby-1.9.patch
  clearsilver/repos/community-x86_64/PKGBUILD
  clearsilver/repos/community-x86_64/clearsilver-ruby-1.9.patch

-+
 /PKGBUILD   |  114 ++
 /clearsilver-ruby-1.9.patch |  488 ++
 community-i686/PKGBUILD |   56 --
 community-i686/clearsilver-ruby-1.9.patch   |  244 -
 community-x86_64/PKGBUILD   |   56 --
 community-x86_64/clearsilver-ruby-1.9.patch |  244 -
 6 files changed, 602 insertions(+), 600 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2014-06-11 14:49:02 UTC (rev 113030)
+++ community-i686/PKGBUILD 2014-06-11 14:49:15 UTC (rev 113031)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin 
-# Maintainer : Aaron Griffin 
-# Contributor: William Rea 
-
-pkgname=clearsilver
-pkgver=0.10.5
-pkgrel=14
-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' 'staticlibs')
-source=("http://www.clearsilver.net/downloads/$pkgname-$pkgver.tar.gz";
-"clearsilver-ruby-1.9.patch")
-md5sums=('b8c0c7fbe0ef5e06e0c935f134304d44'
- 'd9db4e5985254e1b0d63e9ff042773f4')
-
-prepare() {
-  cd $srcdir/$pkgname-$pkgver
-  sed -i "s@/usr/local/bin/python@/usr/bin/env python2@g" scripts/document.py
-  sed -i "s...@install.rb inst...@install.rb install --prefix=$pkgdir@g" 
ruby/Makefile
-  patch -p1 <$srcdir/clearsilver-ruby-1.9.patch
-  patch -p0 ruby/install.rb < siteruby   = subprefix.call(c['vendordir'])
-> 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
-}
-
-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
-}

Copied: clearsilver/repos/community-i686/PKGBUILD (from rev 113030, 
clearsilver/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-06-11 14:49:15 UTC (rev 113031)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Maintainer : Aaron Griffin 
+# Contributor: William Rea 
+
+pkgname=clearsilver
+pkgver=0.10.5
+pkgrel=15
+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' 'staticlibs')
+source=("http://www.clearsilver.net/downloads/$pkgname-$pkgver.tar.gz";
+"clearsilver-ruby-1.9.patch")
+md5sums=('b8c0c7fbe0ef5e06e0c935f134304d44'
+ 'd9db4e5985254e1b0d63e9ff042773f4')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+  sed -i "s@/usr/local/bin/python@/usr/bin/env python2@g" scripts/document.py
+  sed -i "s...@install.rb inst...@install.rb install --prefix=$pkgdir@g" 
ruby/Makefile
+  patch -p1 <$srcdir/clearsilver-ruby-1.9.patch
+  patch -p0 ruby/install.rb < siteruby   = subprefix.call(c['vendordir'])
+> 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
+  (cd perl && perl Makefile.PL INSTALLDIRS=vendor)
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make PREFIX=$pkgdir DESTDIR=$pkgdir install
+
+

[arch-commits] Commit in clearsilver/repos (8 files)

2014-06-11 Thread Sergej Pupykin
Date: Wednesday, June 11, 2014 @ 15:05:15
  Author: spupykin
Revision: 113006

archrelease: copy trunk to community-i686, community-x86_64

Added:
  clearsilver/repos/community-i686/PKGBUILD
(from rev 113005, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-i686/clearsilver-ruby-1.9.patch
(from rev 113005, clearsilver/trunk/clearsilver-ruby-1.9.patch)
  clearsilver/repos/community-x86_64/PKGBUILD
(from rev 113005, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-x86_64/clearsilver-ruby-1.9.patch
(from rev 113005, clearsilver/trunk/clearsilver-ruby-1.9.patch)
Deleted:
  clearsilver/repos/community-i686/PKGBUILD
  clearsilver/repos/community-i686/clearsilver-ruby-1.9.patch
  clearsilver/repos/community-x86_64/PKGBUILD
  clearsilver/repos/community-x86_64/clearsilver-ruby-1.9.patch

-+
 /PKGBUILD   |  112 +
 /clearsilver-ruby-1.9.patch |  488 ++
 community-i686/PKGBUILD |   56 --
 community-i686/clearsilver-ruby-1.9.patch   |  244 -
 community-x86_64/PKGBUILD   |   56 --
 community-x86_64/clearsilver-ruby-1.9.patch |  244 -
 6 files changed, 600 insertions(+), 600 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2014-06-11 13:04:58 UTC (rev 113005)
+++ community-i686/PKGBUILD 2014-06-11 13:05:15 UTC (rev 113006)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin 
-# Maintainer : Aaron Griffin 
-# Contributor: William Rea 
-
-pkgname=clearsilver
-pkgver=0.10.5
-pkgrel=13
-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')
-
-prepare() {
-  cd $srcdir/$pkgname-$pkgver
-  sed -i "s@/usr/local/bin/python@/usr/bin/env python2@g" scripts/document.py
-  sed -i "s...@install.rb inst...@install.rb install --prefix=$pkgdir@g" 
ruby/Makefile
-  patch -p1 <$srcdir/clearsilver-ruby-1.9.patch
-  patch -p0 ruby/install.rb < siteruby   = subprefix.call(c['vendordir'])
-> 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
-}
-
-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
-}

Copied: clearsilver/repos/community-i686/PKGBUILD (from rev 113005, 
clearsilver/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-06-11 13:05:15 UTC (rev 113006)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Maintainer : Aaron Griffin 
+# Contributor: William Rea 
+
+pkgname=clearsilver
+pkgver=0.10.5
+pkgrel=14
+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' 'staticlibs')
+source=("http://www.clearsilver.net/downloads/$pkgname-$pkgver.tar.gz";
+"clearsilver-ruby-1.9.patch")
+md5sums=('b8c0c7fbe0ef5e06e0c935f134304d44'
+ 'd9db4e5985254e1b0d63e9ff042773f4')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+  sed -i "s@/usr/local/bin/python@/usr/bin/env python2@g" scripts/document.py
+  sed -i "s...@install.rb inst...@install.rb install --prefix=$pkgdir@g" 
ruby/Makefile
+  patch -p1 <$srcdir/clearsilver-ruby-1.9.patch
+  patch -p0 ruby/install.rb < siteruby   = subprefix.call(c['vendordir'])
+> 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
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make PREFIX=$pkgdir DESTDIR=$pkgdir install
+
+  install -Dm644 CS_LICENSE $pkgdir/usr/share/licenses/clearsilver

[arch-commits] Commit in clearsilver/repos (8 files)

2013-12-23 Thread Sergej Pupykin
Date: Monday, December 23, 2013 @ 16:16:31
  Author: spupykin
Revision: 102895

archrelease: copy trunk to community-i686, community-x86_64

Added:
  clearsilver/repos/community-i686/PKGBUILD
(from rev 102894, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-i686/clearsilver-ruby-1.9.patch
(from rev 102894, clearsilver/trunk/clearsilver-ruby-1.9.patch)
  clearsilver/repos/community-x86_64/PKGBUILD
(from rev 102894, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-x86_64/clearsilver-ruby-1.9.patch
(from rev 102894, clearsilver/trunk/clearsilver-ruby-1.9.patch)
Deleted:
  clearsilver/repos/community-i686/PKGBUILD
  clearsilver/repos/community-i686/clearsilver-ruby-1.9.patch
  clearsilver/repos/community-x86_64/PKGBUILD
  clearsilver/repos/community-x86_64/clearsilver-ruby-1.9.patch

-+
 /PKGBUILD   |  112 +
 /clearsilver-ruby-1.9.patch |  488 ++
 community-i686/PKGBUILD |   55 --
 community-i686/clearsilver-ruby-1.9.patch   |  244 -
 community-x86_64/PKGBUILD   |   55 --
 community-x86_64/clearsilver-ruby-1.9.patch |  244 -
 6 files changed, 600 insertions(+), 598 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2013-12-23 15:16:06 UTC (rev 102894)
+++ community-i686/PKGBUILD 2013-12-23 15:16:31 UTC (rev 102895)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin 
-# Maintainer : Aaron Griffin 
-# Contributor: William Rea 
-
-pkgname=clearsilver
-pkgver=0.10.5
-pkgrel=11
-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 inst...@install.rb install --prefix=$pkgdir@g" 
ruby/Makefile
-  patch -p1 <$srcdir/clearsilver-ruby-1.9.patch
-  patch -p0 ruby/install.rb < 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
-}

Copied: clearsilver/repos/community-i686/PKGBUILD (from rev 102894, 
clearsilver/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-12-23 15:16:31 UTC (rev 102895)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Maintainer : Aaron Griffin 
+# Contributor: William Rea 
+
+pkgname=clearsilver
+pkgver=0.10.5
+pkgrel=12
+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')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+  sed -i "s@/usr/local/bin/python@/usr/bin/env python2@g" scripts/document.py
+  sed -i "s...@install.rb inst...@install.rb install --prefix=$pkgdir@g" 
ruby/Makefile
+  patch -p1 <$srcdir/clearsilver-ruby-1.9.patch
+  patch -p0 ruby/install.rb < siteruby   = subprefix.call(c['vendordir'])
+> 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
+}
+
+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 $pkgd

[arch-commits] Commit in clearsilver/repos (8 files)

2013-11-05 Thread Sergej Pupykin
Date: Tuesday, November 5, 2013 @ 12:31:11
  Author: spupykin
Revision: 100518

archrelease: copy trunk to community-i686, community-x86_64

Added:
  clearsilver/repos/community-i686/PKGBUILD
(from rev 100517, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-i686/clearsilver-ruby-1.9.patch
(from rev 100517, clearsilver/trunk/clearsilver-ruby-1.9.patch)
  clearsilver/repos/community-x86_64/PKGBUILD
(from rev 100517, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-x86_64/clearsilver-ruby-1.9.patch
(from rev 100517, clearsilver/trunk/clearsilver-ruby-1.9.patch)
Deleted:
  clearsilver/repos/community-i686/PKGBUILD
  clearsilver/repos/community-i686/clearsilver-ruby-1.9.patch
  clearsilver/repos/community-x86_64/PKGBUILD
  clearsilver/repos/community-x86_64/clearsilver-ruby-1.9.patch

-+
 /PKGBUILD   |  110 +
 /clearsilver-ruby-1.9.patch |  488 ++
 community-i686/PKGBUILD |   55 --
 community-i686/clearsilver-ruby-1.9.patch   |  244 -
 community-x86_64/PKGBUILD   |   55 --
 community-x86_64/clearsilver-ruby-1.9.patch |  244 -
 6 files changed, 598 insertions(+), 598 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2013-11-05 11:30:57 UTC (rev 100517)
+++ community-i686/PKGBUILD 2013-11-05 11:31:11 UTC (rev 100518)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin 
-# Maintainer : Aaron Griffin 
-# Contributor: William Rea 
-
-pkgname=clearsilver
-pkgver=0.10.5
-pkgrel=10
-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 inst...@install.rb install --prefix=$pkgdir@g" 
ruby/Makefile
-  patch -p1 <$srcdir/clearsilver-ruby-1.9.patch
-  patch -p0 ruby/install.rb < 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
-}

Copied: clearsilver/repos/community-i686/PKGBUILD (from rev 100517, 
clearsilver/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-11-05 11:31:11 UTC (rev 100518)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Maintainer : Aaron Griffin 
+# Contributor: William Rea 
+
+pkgname=clearsilver
+pkgver=0.10.5
+pkgrel=11
+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 inst...@install.rb install --prefix=$pkgdir@g" 
ruby/Makefile
+  patch -p1 <$srcdir/clearsilver-ruby-1.9.patch
+  patch -p0 ruby/install.rb < 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
+}

Deleted: community-i686/clearsilver-ruby-1.9.patch
==

[arch-commits] Commit in clearsilver/repos (8 files)

2013-11-01 Thread Sergej Pupykin
Date: Friday, November 1, 2013 @ 21:22:07
  Author: spupykin
Revision: 100140

archrelease: copy trunk to community-i686, community-x86_64

Added:
  clearsilver/repos/community-i686/PKGBUILD
(from rev 100139, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-i686/clearsilver-ruby-1.9.patch
(from rev 100139, clearsilver/trunk/clearsilver-ruby-1.9.patch)
  clearsilver/repos/community-x86_64/PKGBUILD
(from rev 100139, clearsilver/trunk/PKGBUILD)
  clearsilver/repos/community-x86_64/clearsilver-ruby-1.9.patch
(from rev 100139, clearsilver/trunk/clearsilver-ruby-1.9.patch)
Deleted:
  clearsilver/repos/community-i686/PKGBUILD
  clearsilver/repos/community-i686/clearsilver-ruby-1.9.patch
  clearsilver/repos/community-x86_64/PKGBUILD
  clearsilver/repos/community-x86_64/clearsilver-ruby-1.9.patch

-+
 /PKGBUILD   |  110 +
 /clearsilver-ruby-1.9.patch |  488 ++
 community-i686/PKGBUILD |   55 --
 community-i686/clearsilver-ruby-1.9.patch   |  244 -
 community-x86_64/PKGBUILD   |   55 --
 community-x86_64/clearsilver-ruby-1.9.patch |  244 -
 6 files changed, 598 insertions(+), 598 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2013-11-01 20:21:52 UTC (rev 100139)
+++ community-i686/PKGBUILD 2013-11-01 20:22:07 UTC (rev 100140)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin 
-# Maintainer : Aaron Griffin 
-# Contributor: William Rea 
-
-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 inst...@install.rb install --prefix=$pkgdir@g" 
ruby/Makefile
-  patch -p1 <$srcdir/clearsilver-ruby-1.9.patch
-  patch -p0 ruby/install.rb < 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
-}

Copied: clearsilver/repos/community-i686/PKGBUILD (from rev 100139, 
clearsilver/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-11-01 20:22:07 UTC (rev 100140)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Sergej Pupykin 
+# Maintainer : Aaron Griffin 
+# Contributor: William Rea 
+
+pkgname=clearsilver
+pkgver=0.10.5
+pkgrel=10
+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 inst...@install.rb install --prefix=$pkgdir@g" 
ruby/Makefile
+  patch -p1 <$srcdir/clearsilver-ruby-1.9.patch
+  patch -p0 ruby/install.rb < 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
+}

Deleted: community-i686/clearsilver-ruby-1.9.patch