# Maintainer: Adam Goldsmith pkgname=opencamlib-git pkgver=11.10.84.gc2bcbbd pkgrel=1 pkgdesc="Multi-Purpose CNC Toolpath Library" arch=('i686' 'x86_64') url="https://github.com/aewallin/opencamlib" license=('GPL3') makedepends=('boost' 'cmake' 'doxygen') depends=('python2' 'boost') provides=('opencamlib') conflicts=('opencamlib') source=("git+https://github.com/aewallin/opencamlib.git") md5sums=('SKIP') pkgver() { cd opencamlib git describe --tags | sed 's/-/./g' } build() { mkdir "$srcdir/opencamlib/build" cd "$srcdir/opencamlib/build" cmake -DCMAKE_INSTALL_PREFIX=/usr ../src make } package() { cd "$srcdir/opencamlib/build" make install DESTDIR=$pkgdir }