18 lines
615 B
Bash
18 lines
615 B
Bash
pkgname=xkb-hypermode
|
|
pkgver=0.2
|
|
pkgrel=1
|
|
pkgdesc="custom us keyboard layout with hyper modifiers"
|
|
arch=('any')
|
|
license=('MIT')
|
|
depends=('xkeyboard-config')
|
|
source=("https://github.com/ndwarshuis/xkb-hypermode/archive/v$pkgver.tar.gz")
|
|
md5sums=('80e0a58fd121567b33bbf8ef67833feb')
|
|
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 {} \;
|
|
}
|