# Maintainer: Chris Rizzitello pkgname=atcore-git confilicts=('atcore') provides=('atcore') pkgver=ac56b28 pkgrel=1 pkgdesc="KDE 3D Printing libary" arch=('i686' 'x86_64') url="https://www.kde.org/" license=('LGPL2') buildDepends=('git' 'cmake' 'extra-cmake-modules' 'doxygen') depends=('qt5-base' 'qt5-serialport' 'qt5-charts' ) #Qt5) source=('git://anongit.kde.org/atcore.git') md5sums=(SKIP) pkgver() { cd "atcore" git log --pretty=format:'%h' -n 1 } build() { cd "atcore" cmake -DCMAKE_INSTALL_PREFIX=$(qtpaths --install-prefix) -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=Release -DBUILD_GUI=ON -DBUILD_DOCS=ON CMakeLists.txt make } package(){ cd "atcore" make DESTDIR="$pkgdir/" install }