Package Details: xkb-switch-git 20171117-4

Git Clone URL: https://aur.archlinux.org/xkb-switch-git.git (read-only)
Package Base: xkb-switch-git
Description: Program that allows to query and change the XKB layout state
Upstream URL: https://github.com/ierton/xkb-switch
Licenses: GPL3
Conflicts: xkb-switch
Provides: xkb-switch
Submitter: doronbehar
Maintainer: orestisf
Last Packager: orestisf
Votes: 3
Popularity: 0.009673
First Submitted: 2017-11-17 16:53
Last Updated: 2018-12-19 00:19

Dependencies (4)

Required by (1)

Sources (1)

Latest Comments

orestisf commented on 2018-06-05 17:37

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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,14 +17,11 @@ sha1sums=('SKIP')

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

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