[arch-commits] Commit in ctemplate/repos (4 files)

Christian Hesse eworm at archlinux.org
Mon Feb 9 16:13:23 UTC 2015


    Date: Monday, February 9, 2015 @ 17:13:23
  Author: eworm
Revision: 127408

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

Added:
  ctemplate/repos/community-i686/
  ctemplate/repos/community-i686/PKGBUILD
    (from rev 127407, ctemplate/trunk/PKGBUILD)
  ctemplate/repos/community-x86_64/
  ctemplate/repos/community-x86_64/PKGBUILD
    (from rev 127407, ctemplate/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   41 +++++++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

Copied: ctemplate/repos/community-i686/PKGBUILD (from rev 127407, ctemplate/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-02-09 16:13:23 UTC (rev 127408)
@@ -0,0 +1,41 @@
+# $Id$
+# 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"
+}

Copied: ctemplate/repos/community-x86_64/PKGBUILD (from rev 127407, ctemplate/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-02-09 16:13:23 UTC (rev 127408)
@@ -0,0 +1,41 @@
+# $Id$
+# 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"
+}



More information about the arch-commits mailing list