git » flashprog.git » commit 27d7751

add udev rules to package

author Frederik Schwan
2023-05-12 20:48:53 UTC
committer Frederik Schwan
2023-05-12 20:48:53 UTC
parent 24c9dfdde43b4fe50598c4921aa0eea25798ee2d

add udev rules to package

fixes FS#65925

PKGBUILD +2 -0

diff --git a/PKGBUILD b/PKGBUILD
index 5b89820..ae188ea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -33,4 +33,6 @@ package() {
   cd ${pkgname}-v${pkgver}
   make PREFIX=temp/ install
   cp -r temp/share "${pkgdir}"/usr/
+
+  install -Dm644 util/z60_flashrom.rules "${pkgdir}"/usr/lib/udev/rules.d/flashrom.rules
 }