blob: e16cbd8c3d9d88cb240389b9217b48eac36be906 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Chris Rizzitello <sithlord48@gmail.com>
pkgname=atcore-git
conflicts=('atcore')
provides=('atcore')
pkgver=1.0.70.r886.293f664
pkgrel=1
pkgdesc="KDE 3D Printing libary"
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://invent.kde.org/libraries/atcore"
license=('LGPL2')
makedepends=('git' 'cmake' 'extra-cmake-modules' 'doxygen' 'qt5-tools')
depends=('qt5-base' 'qt5-serialport' 'qt5-charts' ) #Qt5)
source=('git+https://invent.kde.org/libraries/atcore.git')
md5sums=(SKIP)
pkgver() {
cd "atcore"
version="1.0.70"
printf "%s.r%s.%s" "$version" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
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
}
|