PKGBUILDs/community/ctemplate/PKGBUILD
2009-10-09 21:15:33 -05:00

25 lines
679 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Jeff Mickey <jeff@archlinux.org>
pkgname=ctemplate
pkgver=0.91
pkgrel=1
pkgdesc="A library implementing a simple but powerful template language for C++."
arch=('i686' 'x86_64')
url="http://code.google.com/p/google-ctemplate/"
license=('BSD')
depends=('gcc-libs')
options=('!libtool')
source=(http://google-ctemplate.googlecode.com/files/$pkgname-$pkgver.tar.gz)
md5sums=('0270ab187e32f31cd759736049d4d1bb')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install
#license
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/COPYING
}