summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen2019-01-08 14:39:29 +0100
committerKen2019-01-08 14:48:10 +0100
commit50657798748a420d9136f2e3b628dfde533825af (patch)
tree86da1ae75dd9fdd584b28be41cf4034189a5218d
downloadaur-50657798748a420d9136f2e3b628dfde533825af.tar.gz
ver1 of qidi tech cura plugins defs
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD31
-rw-r--r--qidi-tech-cura.install9
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..767bb3f77b8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = qidi-tech-cura
+ pkgdesc = Cura plugins for QiDi printers (qidi1, x-maker, x-plus, ...)
+ pkgver = 1
+ pkgrel = 1
+ url = https://github.com/KenN7/qidi-tech-cura.git
+ install = qidi-tech-cura.install
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ depends = cura
+ source = git://github.com/KenN7/qidi-tech-cura.git
+ md5sums = SKIP
+
+pkgname = qidi-tech-cura
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c36566eda4d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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/"
+}
diff --git a/qidi-tech-cura.install b/qidi-tech-cura.install
new file mode 100644
index 00000000000..7810b93d87b
--- /dev/null
+++ b/qidi-tech-cura.install
@@ -0,0 +1,9 @@
+post_install() {
+ RED='\033[0;31m'
+ echo -e "${RED}==> You should install X3GWriter in order to ba able to print with qidi tech printers with cura"
+ echo ""
+}
+
+post_upgrade() {
+ post_install
+}