desktop/ctemplate/PKGBUILD
2014-06-06 08:22:51 +00:00

30 lines
701 B
Bash

# Maintainer: Francesco Marinucci <franzmari [at] chakra-project [dot] it>
pkgname=ctemplate
pkgver=2.3
pkgrel=1
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')
makedepends=('subversion')
options=('!libtool')
source=(svn+http://$pkgname.googlecode.com/svn/tags/$pkgname-$pkgver/)
md5sums=('SKIP')
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"
}