# Maintainer: Anton T Johansson # Contributor: GPereira # Contributor: Jelle van der Waa # Contributor: Grey Christoforo pkgname=arcus-beta-git pkgver=r367.cfb4921 pkgrel=1 pkgdesc="Communication library between internal components for Ultimaker software" arch=('x86_64') url="https://github.com/Ultimaker/libArcus" license=('LGPL3') depends=('python' 'protobuf' 'python-sip') makedepends=('cmake' 'git' 'sip') provides=('arcus' 'libarcus') conflicts=('arcus' 'libarcus') source=("git+${url}#branch=4.0") md5sums=('SKIP') pkgver(){ cd libArcus printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { cd libArcus mkdir -p build cd build cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_EXAMPLES=OFF \ -DCMAKE_INSTALL_LIBDIR=/usr/lib/ make } package() { cd libArcus/build make DESTDIR="${pkgdir}" install } # vim:set ts=2 sw=2 et: