updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / xvnkb / PKGBUILD
blobc42949d1fcefba9d8860940180b89557fd9d93c6
1 # Maintainer: Truong Xuan Tinh <tinh.truong@evolus.vn>
2 # Contributor: kyanh <kyanh@gmail.com>
3 pkgname=xvnkb
4 pkgver=0.2.9a
5 pkgrel=4
6 pkgdesc="Vietnamese Keyboard"
7 arch=('i686')
8 license=('GPL')
9 url="http://xvnkb.sf.net/"
10 source=(http://xvnkb.sourceforge.net/$pkgname-$pkgver.tar.bz2)
11 depends=('libxft')
12 md5sums=('cd242c03831c31cc5b294aa9870a0dc4')
13 install=${pkgname}.install
15 build() {
16         cd $srcdir/$pkgname-$pkgver
17         ./configure
18         make || return 1
19         install -Dm755 xvnkb "$pkgdir/usr/bin/xvnkb"
20         install -Dm755 tools/xvnkb_ctrl "$pkgdir/usr/bin/xvnkb_ctrl"
21         install -Dm755 xvnkb.so.$pkgver "$pkgdir/usr/lib/xvnkb.so.$pkgver"
22         ln -sf xvnkb.so.$pkgver "$pkgdir/usr/lib/xvnkb.so"