summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c36566eda4d6b3f8a9cacfe8a9f0cfb536c7965b (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
# Maintainer: Ken Hasselmann <arch AT kenh DOT fr>

pkgname=qidi-tech-cura
_gitname=qidi-tech-cura
pkgver=1
pkgrel=1

pkgdesc="Cura plugins for QiDi printers (qidi1, x-maker, x-plus, ...)"
arch=('i686' 'x86_64')
url="https://github.com/KenN7/qidi-tech-cura.git"
license=('MIT')

install=${pkgname}.install
depends=('cura')
makedepends=('git')

source=('git://github.com/KenN7/qidi-tech-cura.git')
md5sums=('SKIP')

build() {
    echo "downloading sources..."
}

package() {
  cd "$pkgdir"
  mkdir -p "usr/share/cura/resources"
  cp -r "$srcdir/$pkgname/definitions" "$pkgdir/usr/share/cura/resources/"
  cp -r "$srcdir/$pkgname/extruders" "$pkgdir/usr/share/cura/resources/"
  cp -r "$srcdir/$pkgname/images" "$pkgdir/usr/share/cura/resources/"
  cp -r "$srcdir/$pkgname/meshes" "$pkgdir/usr/share/cura/resources/"
}