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