summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 87eb470ac1d829d4b91f8abc6ade8c1fcb4e9188 (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
# Maintainer: Chris Rizzitello <sithlord48@gmail.com>
pkgname=atelier-git
conflicts=('atelier')
pkgver=0.0.80.r616.3ced938
pkgrel=1
pkgdesc="KDE 3D Printer Host"
arch=('i686' 'x86_64')
url="https://invent.kde.org/utilities/atelier"
license=('GPL3')
makedepends=('git' 'cmake' 'extra-cmake-modules')
depends=('qt5-base' 'qt5-serialport' 'qt5-charts' 'qt5-3d' 'atcore-git' 'kxmlgui' 'ktexteditor' 'qt5-multimedia' 'gst-plugins-good') #Qt5)
source=('git+https://invent.kde.org/utilities/atelier.git')
md5sums=(SKIP)

pkgver() {
  cd "atelier"
   version="0.0.80"
   printf "%s.r%s.%s" "$version" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "atelier"
  cmake -DCMAKE_INSTALL_PREFIX=$(qtpaths --install-prefix) -DCMAKE_BUILD_TYPE=Release CMakeLists.txt 
  make
}
package(){
  cd "atelier"
  make DESTDIR="$pkgdir/" install 
}