updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ctemplate / PKGBUILD
blob762f9157775bfb37387dc24c2ba1d42fa24a4204
1 # Maintainer: Ivan Sichmann Freitas <ivansichfreitas@gmail.com>
2 # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
3 # Contributor: Jeff Mickey <jeff@archlinux.org>
5 pkgname=ctemplate
6 pkgver=2.0
7 pkgrel=1
8 pkgdesc="A library implementing a simple but powerful template language for C++"
9 arch=('i686' 'x86_64')
10 url="http://code.google.com/p/ctemplate/"
11 license=('BSD')
12 depends=('gcc-libs')
13 options=('!libtool')
14 source=(http://ctemplate.googlecode.com/files/$pkgname-$pkgver.tar.gz)
15 md5sums=('1e387e310f0bd9783c91bbb091d1ab99')
17 build() {
18   cd ${srcdir}/$pkgname-$pkgver
20   ./configure --prefix=/usr
21   make || return 1
24 package() {
25   cd ${srcdir}/$pkgname-$pkgver
26   make DESTDIR=${pkgdir} install || return 1
28   #license
29   install -D -m644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/LICENSE