updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / xkb-lng / PKGBUILD
blobf83b721ea5c4319939d6fe7c21645b8adf74e58d
1 # Contributor: Kamil Stachowski <kamil.stachowski@gmail.com>
3 pkgname=xkb-lng
4 pkgver=20090706
5 pkgrel=1
6 pkgdesc="A linguist's xkb keyboard"
7 url='http://github.com/caminoix/conf/tree/master/kbd'
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 depends=()
11 makedepends=('git')
12 optdepends=()
13 provides=('xkb-lng')
14 conflicts=()
15 replaces=()
16 source=()
17 md5sums=()
18 install=$pkgname.install
20 _gitname='conf'
21 _gitroot='git://github.com/caminoix/conf.git'
23 build() {
24         msg "Connecting to Git server..."
25         if [ -d "$srcdir/$_gitname" ]; then
26                 cd "$srcdir/$_gitname" && git pull origin || return 1
27         else
28                 git clone "$_gitroot" || return 1
29         fi
30         msg "Git checkout done or server timeout"
32         install -D -m644 "${srcdir}/${_gitname}/kbd/$pkgname" "${pkgdir}/usr/share/X11/xkb/symbols/lng"