summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
-rw-r--r--klipper.service2
-rw-r--r--tmpfiles.conf2
4 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index efca09dd871..c7ce4eb0534 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -24,9 +24,9 @@ pkgbase = klipper-git
source = sysusers.conf
source = tmpfiles.conf
md5sums = SKIP
- md5sums = e39ca376373d4e23799806b916d39f14
+ md5sums = a8e8aee6f576ebd9e335c20e225c99e5
md5sums = 61912d101dc7c68c7314882b80621454
- md5sums = 2b79f4e00b2a74cef083fba81c89a13d
+ md5sums = ac76dba668e371a0686973e5069bc95e
pkgname = klipper-git
diff --git a/PKGBUILD b/PKGBUILD
index dfa385c1db6..484eddd39de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -28,9 +28,9 @@ install=
source=('git+https://github.com/KevinOConnor/klipper#branch=master' 'klipper.service' 'sysusers.conf' 'tmpfiles.conf')
noextract=()
md5sums=('SKIP'
- 'e39ca376373d4e23799806b916d39f14'
+ 'a8e8aee6f576ebd9e335c20e225c99e5'
'61912d101dc7c68c7314882b80621454'
- '2b79f4e00b2a74cef083fba81c89a13d')
+ 'ac76dba668e371a0686973e5069bc95e')
pkgver() {
cd "$srcdir/${pkgname%-git}"
@@ -61,6 +61,7 @@ package() {
install -Dm644 "$srcdir/sysusers.conf" "$pkgdir/usr/lib/sysusers.d/klipper.conf"
install -Dm644 "$srcdir/tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/klipper.conf"
install -dm755 "$pkgdir/opt/klipper/klippy"
+ install -dm775 "$pkgdir/etc/klipper"
python2 "$srcdir/${pkgname%-git}/scripts/make_version.py" archlinux > "$pkgdir/opt/klipper/klippy/.version"
GLOBIGNORE=.git cp -r * "$pkgdir/opt/klipper"
}
diff --git a/klipper.service b/klipper.service
index d7b467d72c5..fd960d5664f 100644
--- a/klipper.service
+++ b/klipper.service
@@ -2,7 +2,7 @@
Description=3D printer firmware with motion planning on the host
[Service]
-ExecStart=/usr/bin/python2 /opt/klipper/klippy/klippy.py /etc/klipper.cfg -l /var/log/klipper/klippy.log -I /run/klipper/sock
+ExecStart=/usr/bin/python2 /opt/klipper/klippy/klippy.py /etc/klipper/klipper.cfg -l /var/log/klipper/klippy.log -I /run/klipper/sock
Type=simple
User=klipper
diff --git a/tmpfiles.conf b/tmpfiles.conf
index 7d4bf726073..dab6d887b18 100644
--- a/tmpfiles.conf
+++ b/tmpfiles.conf
@@ -1,3 +1,3 @@
d /var/log/klipper 0775 klipper klipper - -
d /run/klipper 0755 klipper tty - -
-f /etc/klipper.cfg 0644 klipper klipper - -
+d /etc/klipper 0775 klipper klipper - -