summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4c79b1942f030f9645ce173f75daf6a68adb7d6c (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
pkgname=abnt2-ext
pkgver=3.0.1
pkgrel=1
pkgdesc="ABNT2 extended keyboard"
arch=(any)
url="https://github.com/kugland/abnt2-ext-arch"
license=('GPL')
depends=(
    'xkeyboard-config'
    'python-lxml'
)
source=(
    'abnt2ext'
    'patch_evdev.py'
    'abnt2-patch-evdev.hook'
)
sha256sums=('1cb4058afc71968999b188ddd99813a9faaa0baf38cacd7e81f5e048186dfb67'
            '74194d63c9bde72e8cd9a4c05d2711cda99a2208bc0ce43b0d6973aaae5edee3'
            'cc2b039de1cf0f6e179a3fdb9c6c9959626e9378343388aadf63e05a3f2fc93a')
install=abnt2-ext.install

package() {
  cd "$srcdir/"

  install -D -m 644 -o root -g root abnt2ext "$pkgdir/usr/share/X11/xkb/symbols/abnt2ext"
  install -D -m 644 -o root -g root patch_evdev.py "$pkgdir/usr/share/abnt2-ext/patch_evdev.py"
  install -D -m 644 -o root -g root abnt2-patch-evdev.hook "$pkgdir/usr/share/libalpm/hooks/abnt2-patch-evdev.hook"
}