updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / yaskkserv / PKGBUILD
blobb634fad27b7a168a91b30c948c374a2dc2289f84
1 # Maintainer: eagletmt <eagletmt@gmail.com>
2 pkgname=yaskkserv
3 pkgver=0.5.2
4 pkgrel=1
5 pkgdesc='Yet another SKK Japanese input method dictionary server'
6 arch=('x86_64' 'i686')
7 url='http://umiushi.org/~wac/yaskkserv/'
8 license=('GPL')
9 depends=('gcc-libs')
10 makedepends=('perl' 'skk-jisyo')
11 backup=('etc/rc.d/yaskkserv')
12 source=(http://umiushi.org/~wac/$pkgname/$pkgname-$pkgver.tar.bz2
13         yaskkserv)
14 install=yaskkserv.install
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
18   LC_ALL=C ./configure --prefix=/usr --enable-google-japanese-input
19   make
22 package() {
23   cd "$srcdir/$pkgname-$pkgver"
24   make PREFIX="$pkgdir/usr" install_all
26   mkdir -p "$pkgdir/usr/share/skk"
27   "$pkgdir/usr/bin/yaskkserv_make_dictionary" /usr/share/skk/SKK-JISYO.L "$pkgdir/usr/share/skk/SKK-JISYO.L.yaskkserv"
29   mkdir -p "$pkgdir/etc/rc.d"
30   install -m755 "$srcdir/yaskkserv" "$pkgdir/etc/rc.d/"
33 # vim:set ts=2 sw=2 et:
34 md5sums=('6dfd666624ceaa124c4f502187c5721b'
35          '6633199b07afbbf19c7c0eca618e81b5')