[arch-commits] Commit in (4 files)
Christian Hesse
eworm at archlinux.org
Fri Jan 16 20:25:21 UTC 2015
Date: Friday, January 16, 2015 @ 21:25:20
Author: eworm
Revision: 125998
Initial import of ctemplate 2.3-1
This is a dependency for mysql-workbench.
Added:
ctemplate/
ctemplate/repos/
ctemplate/trunk/
ctemplate/trunk/PKGBUILD
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Added: ctemplate/trunk/PKGBUILD
===================================================================
--- ctemplate/trunk/PKGBUILD (rev 0)
+++ ctemplate/trunk/PKGBUILD 2015-01-16 20:25:20 UTC (rev 125998)
@@ -0,0 +1,40 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Marcel Korpel <marcel[dot]korpel[at]gmail>
+# Contributor: Ivan Sichmann Freitas <ivansichfreitas at gmail.com>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Jeff Mickey <jeff at archlinux.org>
+
+pkgname=ctemplate
+pkgver=2.3
+pkgrel=2
+pkgdesc='A library implementing a simple but powerful template language for C++'
+arch=('i686' 'x86_64')
+url='http://code.google.com/p/ctemplate/'
+license=('BSD')
+makedepends=('subversion' 'python2')
+depends=('gcc-libs' 'perl')
+source=("svn+http://${pkgname}.googlecode.com/svn/tags/${pkgname}-${pkgver}/")
+sha256sums=('SKIP')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # use python2
+ sed -i '1s/python/&2/' \
+ src/htmlparser/fsm_config.py \
+ src/htmlparser/generate_fsm.py
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+ install -D -m0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
Property changes on: ctemplate/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list