summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b5eb642cdb107d5d494382f23d923fac65f269f6 (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
31
32
33
# Maintainer: Adam Goldsmith <contact@adamgoldsmith.name>

pkgname=cura-fdm-materials-git
pkgver=jedi.master.2017.10.19.2.g84e6ce7
pkgrel=1
pkgdesc="A full software solution for 3D printing aimed at RepRaps and the Ultimaker."
arch=('any')
license=('GPL3')
url="https://github.com/Ultimaker/fdm_materials"
provides=('cura-fdm-materials' 'cura-resources-materials')
conflicts=('cura-fdm-materials' 'cura-resources-materials')
makedepends=('git' 'cmake')
source=('git+https://github.com/Ultimaker/fdm_materials')
md5sums=('SKIP')

pkgver() {
  cd fdm_materials
  git describe --tags | sed 's/-/./g'
}

build() {
  mkdir -p fdm_materials/build
  cd fdm_materials/build
  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  make
}

package() {
  cd "$srcdir/fdm_materials/build"
  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: