summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9217571943965b4859214212086dcb24d98daede (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Inspired by https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=xkb-qwerty-fr
# Maintainer: Joël Porquet-Lupine <joel@porquet.org>

_pkgname=altgr-weur
pkgname=xkb-altgr-weur
pkgver=2
pkgrel=1
pkgdesc="Keyboard layout based on letter frequencies for 11 Western European
languages (English, Danish, Dutch, Finnish, French, German, Italian, Norwegian,
Portugese, Spanish and Swedish)"
arch=('any')
url="https://altgr-weur.eu/"
license=('custom')
depends=('xkeyboard-config' 'perl')
install=${pkgname}.install
source=("https://altgr-weur.eu/${_pkgname}"
        "${pkgname}.hook"
        "${pkgname}"
        )
md5sums=('3d042fc8ffd894ebd698523b08fd93bf'
        '68322ffd940f7bec47dae3e4e392eb68'
        '480870a007350c6265fc4941614d14ce')

package() {
    cd "${srcdir}"
    install -D -m 755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
    install -D -m 644 ${pkgname}.hook ${pkgdir}/usr/share/libalpm/hooks/${pkgname}.hook
    install -D -m 644 ${_pkgname} ${pkgdir}/usr/share/X11/xkb/symbols/${_pkgname}
}