# Maintainer: TDY # Contributor: Christoph Zeiler pkgname=gwaei pkgver=1.4.0 pkgrel=1 pkgdesc="A Japanese-English dictionary program" arch=('i686' 'x86_64') url="http://gwaei.sourceforge.net/" license=('GPL3') depends=('curl>=7.18.0' 'gconf>=2.22.0' 'hicolor-icon-theme' 'libsexy>=0.1.11' 'libunique>=1.0.0') makedepends=('gnome-doc-utils>=0.13.0' 'pkgconfig>=0.9.0') optdepends=('rsync: provide incremental dictionary updates' 'ttf-arphic-ukai' 'ttf-kanjistrokeorders: show stroke order diagrams') install=gwaei.install source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) md5sums=('2d4beccfc7c07ca5e97b1b4292a8c333') build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --disable-schemas-install \ --with-gconf-schema-file-dir=/usr/share/gconf/schemas make || return 1 } package() { cd "$srcdir/$pkgname-$pkgver" make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install ln -sf $pkgname "$pkgdir/usr/bin/waei" }