1 # Maintainer: Andre Wayand <aur-gjiten at awayand dot sleepmail dot com>
2 # Contributor: Branko Vukelic <bg.branko@gmail.com>
7 pkgdesc="Japanese and kanji dictionary program for GNOME"
9 url="http://gjiten.sourceforge.net/"
11 #depends=('gtk2' 'libgnome>=2.2.0' 'libgnomeui>=2.2.0' 'libglade>=2.0' 'gconf>=2.0')
12 depends=('libgnomeui>=2.2.0')
13 makedepends=('lynx' 'xmlto' 'perlxml' 'docbook-xsl')
15 'perl: install extra dictionaries'
16 'kanjipad: handwritten kanji lookup'
17 'scim-anthy: japanese input'
19 install=gjiten.install
21 http://gjiten.sourceforge.net/$pkgname-$pkgver.tar.gz
22 http://gjiten.sourceforge.net/dictfiles/edict
23 http://gjiten.sourceforge.net/dictfiles/kanjidic
26 md5sums=('44a5d9640e37d8b0547f9c7e3d7ac67a'
27 '56aef34061ede99977d87810524a8ab2'
28 'd872fa6f0dbcbf901dad8bd8cb1066ef'
29 '1b8dfd15373833856499aad20eac165e')
32 cd "${srcdir}/${pkgname}-${pkgver}"
33 patch -uN dicfiles/getdics.pl ${srcdir}/getdics-updurl.diff
34 ./configure --with-gconf-schema-file-dir=/usr/share/gconf/schemas --prefix=/usr
39 cd "${srcdir}/${pkgname}-${pkgver}"
40 make DESTDIR="${pkgdir}" install
42 msg "Installing extra dictionary script"
43 install -d "${pkgdir}"/usr/share/gjiten/dicfiles
44 install -Dm0644 -t "${pkgdir}"/usr/share/gjiten/dicfiles dicfiles/{getdics.pl,Makefile,Makefile.am,Makefile.in}
46 msg "Installing dictionaries"
48 install -Dm0644 edict "${pkgdir}"/usr/share/gjiten/dics/edict
49 install -m0644 kanjidic "${pkgdir}"/usr/share/gjiten/dics/kanjidic