dotfiles/dot_local/share/packages/xkb-hypermode/PKGBUILD

18 lines
615 B
Bash
Raw Permalink Normal View History

2021-03-09 22:54:15 -05:00
pkgname=xkb-hypermode
2023-08-30 16:48:18 -04:00
pkgver=0.4
2021-03-09 22:54:15 -05:00
pkgrel=1
pkgdesc="custom us keyboard layout with hyper modifiers"
arch=('any')
license=('MIT')
depends=('xkeyboard-config')
2023-01-07 14:26:51 -05:00
source=("https://github.com/ndwarshuis/xkb-hypermode/archive/v$pkgver.tar.gz")
2023-08-30 16:48:18 -04:00
md5sums=('399453ee06dce1b7c01bcfd7b3ff66ba')
2021-03-09 22:54:15 -05:00
backup=("etc/X11/xorg.conf.d/10-hyperctrl.conf")
package() {
install -Dm644 "$srcdir/$pkgname-$pkgver/10-hyperctrl.conf" "$pkgdir/etc/X11/xorg.conf.d/10-hyperctrl.conf"
mkdir -p "$pkgdir/usr/share/X11"
cp -r "$srcdir/$pkgname-$pkgver/xkb" "$pkgdir/usr/share/X11"
find "$pkgdir/usr/share/X11/xkb/" -type f -exec chmod 644 {} \;
}