updated on Sun Jan 8 12:02:35 UTC 2012
[aur-mirror.git] / rukbi / PKGBUILD
blob18527fe258413775fe89d7aa33a0dab9487d1c9c
1 # Maintainer: Denys Popov <besisland@besisland.name>
2 pkgname=rukbi
3 pkgver=3.5
4 pkgrel=1
5 pkgdesc="Alternative Ukrainian and Russian keyboard layouts with miscellaneous useful typographic characters, including Ilya Birman’s layout"
6 url="http://besisland.name/rukbi"
7 arch=("any")
8 license=("GPLv3")
9 depends=("xkeyboard-config" "python")
10 source=("http://rukbi.googlecode.com/files/$pkgname-$pkgver.tar.bz2")
11 md5sums=('58741c7318f99d8157675c454eff213c')
12 sha1sums=('4195f1fd81535897a82f1f5a8aa2a851ccfe72a7')
13 sha256sums=('ddcd326976039c4b85424da09c01b5db89188321e9d86831716d077c566ea8b0')
14 install=("arch-install")
16 check() {
17     cd "$srcdir"
18     test/test
21 package() {
22     local xkbdir="$pkgdir/usr/share/X11/xkb"
23     cd "$srcdir"
25     install -d $xkbdir/symbols $xkbdir/rules
26     install -m 0644 symbols/* $xkbdir/symbols/
28     install -d $xkbdir/rukbi/install $xkbdir/rukbi/symbols $xkbdir/rukbi/rules
29     install -m 0755 install/* $xkbdir/rukbi/install/
30     install -m 0644 symbols/* $xkbdir/rukbi/symbols/
31     install -m 0644 rules/* $xkbdir/rukbi/rules/