aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2af8948f9a8d28475f47ce1aa727ac9dc2f6ca82 (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
# Maintainer: Michael Engelhard <engelhard.michael+git@gmail.com>
pkgname=neolight
pkgver=1.2.1
pkgrel=1
pkgdesc='Additional layers for the german qwertz keyboard layout and others.'
arch=('any')
url='https://github.com/mihi314/neolight'
license=('GPL')
depends=('xkeyboard-config')
optdepends=('ibus: adds neolight to the ibus input methods')

_tag="v${pkgver}"
_repo_url='https://raw.githubusercontent.com/mihi314/neolight'

install='neolight.install'
source=("${_repo_url}/${_tag}/linux/neolight"
        "${_repo_url}/${_tag}/linux/register-neolight.sh"
        "register-neolight.hook")
md5sums=('998bc1bf9b16a04a0ac0ed2a82221118'
         '450e3c6aa9c0fe9b2f9048bde5ce438a'
         'c6e81d0589bab55863b25cbffbaebf09')

package() {
    install -Dm 644 "${srcdir}/neolight" "${pkgdir}/usr/share/X11/xkb/symbols/neolight"
    install -Dm 755 "${srcdir}/register-neolight.sh" "${pkgdir}/usr/share/libalpm/scripts/register-neolight.sh"
    install -Dm 644 "${srcdir}/register-neolight.hook" "${pkgdir}/usr/share/libalpm/hooks/register-neolight.hook"
}