Package Details: xkb-switch-git 1.8.5.r8.g5dd459a-1

Git Clone URL: (read-only, click to copy)
Package Base: xkb-switch-git
Description: Program that allows to query and change the XKB layout state
Upstream URL:
Licenses: GPL3
Conflicts: xkb-switch
Provides: xkb-switch
Submitter: None
Maintainer: orestisf
Last Packager: orestisf
Votes: 6
Popularity: 0.000000
First Submitted: 2017-11-17 16:53 (UTC)
Last Updated: 2022-05-31 21:54 (UTC)

Latest Comments

orestisf commented on 2018-06-05 17:37 (UTC) (edited on 2018-06-05 17:37 (UTC) by orestisf)

Hello, can you please update the PKGBUILD to not install the binaries in /usr/local? I see that you fixed that for the xkb-switch package. You can simplify the process by using DCMAKE_INSTALL_PREFIX:

diff --git a/PKGBUILD b/PKGBUILD
index ef137fc..4652ec9 100644
@@ -17,14 +17,11 @@ sha1sums=('SKIP')

 build() {
    cd xkb-switch
-   cmake .
+   cmake -DCMAKE_INSTALL_PREFIX=/usr .

 package() {
    cd xkb-switch
    make DESTDIR="$pkgdir/" install
-   mkdir "$pkgdir/usr/bin"
-   ln -st "$pkgdir/usr/bin" "/usr/local/bin/xkb-switch"