1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
5 pkgdesc="C++ multi-purpose reflection library"
7 url="http://dev.tegesoft.com/projects/${pkgname}/"
11 optdepends=('doxyen: generate API docs')
12 source=("http://dev.tegesoft.com/attachments/download/79/${pkgname}-${pkgver}-src.tar.bz2")
13 md5sums=('7b33a5aa39dda2a0aea1243652b43431')
16 cd "${srcdir}/${pkgname}-${pkgver}-src"
18 [[ -d build ]] && rm -r build
19 mkdir build && cd build
20 cmake .. -DCMAKE_INSTALL_PREFIX=/usr
22 # Check for optdepends and then attemt to generate docs
23 if [[ $(which doxygen) ]]; then
26 warning "doxygen not found, not making documentation"
31 cd "${srcdir}/${pkgname}-${pkgver}-src"
34 make DESTDIR="${pkgdir}/" install
37 # vim:set ts=2 sw=2 et: