Package Details: waybind-git v0.1.1.r2.g2e976d7-1

Git Clone URL: https://aur.archlinux.org/waybind-git.git (read-only, click to copy)
Package Base: waybind-git
Description: Simple Key rebinder
Upstream URL: https://github.com/arnarg/waybind
Licenses: MIT
Conflicts: waybind
Provides: waybind
Submitter: schnilz
Maintainer: schnilz
Last Packager: schnilz
Votes: 0
Popularity: 0.000000
First Submitted: 2020-07-13 09:21 (UTC)
Last Updated: 2020-12-25 13:14 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

<deleted-account> commented on 2020-11-24 06:56 (UTC)

fix PKGBUILD in section package:

       cd "$srcdir/$_pkgname"

        mkdir -p "${pkgdir}/usr/bin/"
        install -Dm755 waybind "${pkgdir}/usr/bin/waybind"

        #install uinput udev rule
        mkdir -p "${pkgdir}/usr/lib/udev/rules.d/"
        install -Dm644 "udev/99-uinput.rules" "${pkgdir}/usr/lib/udev/rules.d/99-uinput.rules"

        #install systemd unit
        install -Dm644  "systemd/waybind.service" "${pkgdir}/usr/lib/systemd/system/$_pkgname.service"

        #install example config file
        mkdir -p "${pkgdir}/etc/waybind/"
        if [ ! -f "/etc/waybind/config.yml" ]; then
            install -Dm644 "examples/config.yml" "${pkgdir}/etc/waybind/config.yml"
        fi

<deleted-account> commented on 2020-11-24 06:42 (UTC)

cd "$srcdir/$_pkgname"

``` mkdir -p "${pkgdir}/usr/bin/" install -Dm755 waybind "${pkgdir}/usr/bin/waybind"

    #install uinput udev rule
    mkdir -p "${pkgdir}/usr/lib/udev/rules.d/"
    install -Dm644 "udev/99-uinput.rules" "${pkgdir}/usr/lib/udev/rules.d/99-uinput.rules"

    #install systemd unit
    install -Dm644  "systemd/waybind.service" "${pkgdir}/usr/lib/systemd/system/$_pkgname.service"

    #install example config file
    mkdir -p "${pkgdir}/etc/waybind/"
    if [ ! -f "/etc/waybind/config.yml" ]; then
        install -Dm644 "examples/config.yml" "${pkgdir}/etc/waybind/config.yml"
    fi```

<deleted-account> commented on 2020-11-24 06:22 (UTC)

# Maintainer: Nils Schulte aur@nilsschulte.de

pkgname=waybind-git _pkgname=waybind pkgver=v0.1.1.r8.g86b4fb9 pkgrel=2 pkgdesc='Simple Key rebinder' arch=('x86_64') url='https://github.com/arnarg/waybind' license=('MIT') makedepends=('git' 'go') provides=('waybind') conflicts=('waybind') source=("$_pkgname::git+https://github.com/arnarg/waybind") sha512sums=('SKIP')

pkgver() { cd "$srcdir/$_pkgname" git describe --long --tags | sed 's/([^-]*-g)/r\1/;s/-/./g' }

build() { cd "$srcdir/$_pkgname" make PREFIX=/usr VERSION="$(pkgver)" }

package() { cd "$srcdir/$_pkgname"

    mkdir -p "${pkgdir}/usr/bin/"
    install -Dm755 waybind "${pkgdir}/usr/bin/waybind"

    #install uinput udev rule
    mkdir -p "${pkgdir}/usr/lib/udev/rules.d/"
    install -Dm644 "udev/99-uinput.rules" "${pkgdir}/usr/lib/udev/rules.d/99-uinput.rules"

    #install systemd unit
    install -Dm644  "systemd/waybind.service" "${pkgdir}/usr/lib/systemd/system/$_pkgname.service"

    #install example config file
    mkdir -p "${pkgdir}/etc/waybind/"
    if [ ! -f "/etc/waybind/config.yml" ]; then
        install -Dm644 "examples/config.yml" "${pkgdir}/etc/waybind/config.yml"
    fi

} `

pablogomez commented on 2020-11-16 19:15 (UTC)

Works perfect now. Thank you. I accidentally hit the wrong button and deleted my preview comment about the little bug, but it's fixed. Thank you again.

schnilz commented on 2020-11-16 16:59 (UTC)

sry for that error, but it should be fixed now. I didn't find the error as it doesn't show up when there is a config file in /etc/waybind/