From 38aff39f71e042298cab030cbdaf5846b31aaf82 Mon Sep 17 00:00:00 2001 From: Francesco Date: Sun, 13 Oct 2013 17:19:15 +0000 Subject: [PATCH] ctemplate 2.2 --- ctemplate/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 ctemplate/PKGBUILD diff --git a/ctemplate/PKGBUILD b/ctemplate/PKGBUILD new file mode 100644 index 000000000..29504d618 --- /dev/null +++ b/ctemplate/PKGBUILD @@ -0,0 +1,31 @@ + +# Apps Packages for Chakra, part of chakra-project.org +# +# Maintainer: FranzMari + +pkgname=ctemplate +pkgver=2.2 +pkgrel=2 +pkgdesc="A library implementing a simple but powerful template language for C++" +arch=('x86_64') +url="http://code.google.com/p/ctemplate/" +license=('BSD') +depends=('gcc-libs') +options=('!libtool') +source=(http://ctemplate.googlecode.com/files/$pkgname-$pkgver.tar.gz) +md5sums=('1de89d9073f473c1e31862c4581636f3') + +build() { + cd "${srcdir}/$pkgname-$pkgver" + + CXXFLAGS="$CXXFLAGS" ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/$pkgname-$pkgver" + make DESTDIR="${pkgdir}" install + + #license + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" +} \ No newline at end of file