1 # Maintainer: Patrice Peterson <runiq at archlinux dot us>
6 pkgdesc="A Japanese-English dictionary program"
8 url="http://gwaei.sourceforge.net"
10 depends=('curl>=7.18.0' 'gconf>=2.22.0' 'hicolor-icon-theme'
11 'libsexy>=0.1.11' 'libunique>=1.0.0')
12 makedepends=('git' 'gnome-doc-utils>=0.13.0' 'pkgconfig>=0.9.0')
13 optdepends=('rsync: Provide incremental dictionary updates'
15 'ttf-kanjistrokeorders: Show stroke order diagrams')
19 _gitroot="git://gwaei.git.sourceforge.net/gitroot/gwaei/gwaei"
24 msg "Connecting to GIT server...."
26 if [ -d $_gitname ] ; then
27 cd $_gitname && git pull origin
28 msg "The local files are updated."
30 git clone $_gitroot $_gitname
33 msg "GIT checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf "$srcdir/$_gitname-build"
37 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
40 # temporary workaround until upstream has updated to gettext 0.18
43 ./configure --prefix=/usr --disable-schemas-install \
44 --with-gconf-schema-file-dir=/usr/share/gconf/schemas
46 make DESTDIR="$pkgdir/" install