updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / xjdic-kanjidic / PKGBUILD
blobbd4a272c98bf5ab70480972d33449898ceeec5bf
1 # Contributor: Alex Suykov <axs@ukr.net>
3 # Look at the first line of kanjidic to see it's version
4 pkgname=xjdic-kanjidic
5 pkgver=20081201
6 pkgrel=1
7 pkgdesc="(required) Kanji dictionary for xjdic"
8 arch=('i686' 'x86_64')
9 url="http://www.csse.monash.edu.au/~jwb/kanjidic.html"
10 license=('custom')
11 makedepends=(xjdic)
12 source=(ftp://ftp.monash.edu.au/pub/nihongo/kanjidic.gz \
13   ftp://ftp.monash.edu.au/pub/nihongo/kanjidic.doc \
14   COPYING)
15 # Useless -- the file is changed every day -- but gives user
16 # a chance to fix $pkgver above
17 md5sums=('9b03c102654e44be81a32faa6c9b7670'
18          '78f26bb9d86fed7968c8371d2a83dd1a'
19          'db0f908e3115d2c0ad1f94499cee6a20')
21 build() {
22   xjdxgen kanjidic
23   mkdir -p "$pkgdir/usr/share/xjdic/doc"
24   install -m 0644 kanjidic{,.xjdx} "$pkgdir/usr/share/xjdic"
25   install -m 0644 kanjidic.doc "$pkgdir/usr/share/xjdic/doc"
26   install -D -m 0644 COPYING "$pkgdir/usr/share/licenses/xjdic-kanjidic/COPYING"
29 # vim:set ts=2 sw=2 et: