[arch-commits] Commit in libindi/trunk (PKGBUILD)

Andrea Scarpino andrea at nymeria.archlinux.org
Sun Mar 30 17:31:42 UTC 2014


    Date: Sunday, March 30, 2014 @ 19:31:41
  Author: andrea
Revision: 209249

Proper fix for the udev rule

Modified:
  libindi/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-30 17:28:39 UTC (rev 209248)
+++ PKGBUILD	2014-03-30 17:31:41 UTC (rev 209249)
@@ -23,7 +23,8 @@
   cd build
   cmake ../${pkgname}-${pkgver} \
     -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DUDEVRULES_INSTALL_DIR=/usr/lib/udev/rules.d
   make
 }
 
@@ -30,9 +31,4 @@
 package() {
   cd build
   make DESTDIR="${pkgdir}" install
-
-  install -d "${pkgdir}"/usr/lib/udev/rules.d
-  mv "${pkgdir}"/lib/udev/rules.d/99-gpusb.rules \
-    "${pkgdir}"/usr/lib/udev/rules.d/
-  rmdir "${pkgdir}"/lib/udev/rules.d "${pkgdir}"/lib/udev "${pkgdir}"/lib
 }




More information about the arch-commits mailing list