feat: add Arch packaging for Kyocera SANE driver

This commit is contained in:
user
2026-09-20 22:20:45 +04:00
commit e1474dc694
2 changed files with 164 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
post_install() {
chmod 1777 /usr/local/kyocera/scanner 2>/dev/null || true
udevadm control --reload-rules || true
udevadm trigger \
--subsystem-match=usb \
--attr-match=idVendor=0482 \
--attr-match=idProduct=0495 || true
}
post_upgrade() {
post_install
}
post_remove() {
udevadm control --reload-rules || true
}