[arch-commits] Commit in ukui-settings-daemon/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Dec 7 20:32:07 UTC 2020


    Date: Monday, December 7, 2020 @ 20:32:06
  Author: felixonmars
Revision: 771515

upgpkg: ukui-settings-daemon 3.0.2-1: fix udev path again

Modified:
  ukui-settings-daemon/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-07 20:24:12 UTC (rev 771514)
+++ PKGBUILD	2020-12-07 20:32:06 UTC (rev 771515)
@@ -14,9 +14,14 @@
 source=("$pkgname-$pkgver.tar.gz::https://github.com/ukui/ukui-settings-daemon/archive/v$pkgver.tar.gz")
 sha512sums=('e136aca22e389218d97843ea839fec3fc83b3d3952b229c5dfd189a30d2c71e253a15022e9a20cfaad55ef7275cf0cf09977631112fd124667a8e73700e47db0')
 
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i 's|udev.path = /lib/udev/rules.d/|udev.path = /usr/lib/udev/rules.d/|' plugins/mouse/mouse.pro
+}
+
 build() {
   cd $pkgname-$pkgver
-  qmake-qt5 PREFIX=/usr udev.path=/usr/lib/udev/rules.d/
+  qmake-qt5 PREFIX=/usr
   make
 }
 



More information about the arch-commits mailing list