Package Details: interception-k2k-git 0.0.0.r30.259a549-1

Git Clone URL: https://aur.archlinux.org/interception-k2k-git.git (read-only, click to copy)
Package Base: interception-k2k-git
Description: Unofficial plugin for Interception Tools (caps2esc, tab2altgr) - patched
Upstream URL: https://github.com/zsugabubus/interception-k2k
Keywords: caps esc key remap udev
Licenses: MIT
Submitter: goetzc
Maintainer: goetzc
Last Packager: goetzc
Votes: 1
Popularity: 0.82
First Submitted: 2019-09-27 17:42
Last Updated: 2020-11-24 14:53

Dependencies (1)

Required by (0)

Sources (2)

Latest Comments

goetzc commented on 2020-11-24 14:55

@timhilt, glad it's working for you! I updated the PKGBUILD to work with the latest upstream Git code.

timhilt commented on 2020-11-24 10:10

@goetzc checking out the commit from 2019-10-05 in the prepare-stage is a workaround that worked very good for me. The upgraded PKGBUILD looks like this:

# Maintainer: Götz Christ <goetzchrist@gmail.com>
pkgname=interception-k2k-git
_realname=interception-k2k
pkgver=0.0.0.r19.b0bfc82
pkgrel=1
pkgdesc="Unofficial plugin for Interception Tools (caps2esc, tab2altgr) - patched"
arch=(x86_64)
license=(MIT)
url="https://github.com/zsugabubus/interception-k2k"
depends=(interception-tools)
install=$_realname.install
source=("$pkgname::git+$url"
        "udevmon.yaml")
md5sums=(SKIP
         5fc5d48b4291bf808205f50c9142c188)

pkgver() {
    cd $pkgname
    printf "0.0.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
    cd ${srcdir}/${pkgname}
    git checkout b0bfc82
    rm -rf config && mkdir config
    cp -r example/interception-pipe0 config/interception-k2k
    sed -e '/KEY_SPACE/ s|^\/*|// |' -i config/interception-k2k/tap-rules.h.in
}

build() {
    cd ${srcdir}/${pkgname}
    make
}

package() {
    cd ${srcdir}
    install -D -m0755 ${pkgname}/out/$_realname "$pkgdir/usr/bin/${_realname}"
    install -D -m0644 udevmon.yaml "$pkgdir/usr/share/doc/${_realname}/udevmon.example.yaml"
}

timhilt commented on 2020-11-24 09:50

@goetz, thanks for the reply at https://aur.archlinux.org/packages/interception-caps2esc-delay-git/. Do you use k2k as per the configuration found in the AUR-package? I tried to install from source and also copied the udevmon.yaml from the README.md to /etc/udevmon.yaml. The result was, that i had to wait in between keypresses (also alphanumeric keys) in order to correctly register the keypress!

Also the k2k-AUR-package isn't consistent with the source anymore. I will try updating the PKGBUILD.

goetzc commented on 2019-10-05 17:07

Updated

andreao commented on 2019-10-05 06:29

Compilation fails.

sed: can't read tap-rules.h.in: No such file or directory