Просмотр исходного кода

libxkbcommon: Set bash completion path to make sure it installs in xmake package path (#7000)

* Set bash completion path to make sure it install in xmake package path

* Update packages/l/libxkbcommon/xmake.lua

Co-authored-by: Jérôme Leclercq <[email protected]>

---------

Co-authored-by: Jérôme Leclercq <[email protected]>
Cappecasper03 3 месяцев назад
Родитель
Сommit
c875d9e480
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      packages/l/libxkbcommon/xmake.lua

+ 2 - 1
packages/l/libxkbcommon/xmake.lua

@@ -42,7 +42,8 @@ package("libxkbcommon")
             "-Dxkb-config-root=/usr/share/X11/xkb",
             "-Dx-locale-root=/usr/share/X11/locale",
             format("-Denable-x11=%s", package:config("x11")),
-            format("-Denable-wayland=%s", package:config("wayland"))
+            format("-Denable-wayland=%s", package:config("wayland")),
+            format("-Dbash-completion-path=%s", path.join(package:installdir(), "share", "bash-completion", "completions"))
         }
 
         import("package.tools.meson").install(package, configs)