Want more features on Pastebin? Sign Up, it's FREE!
Guest

Zidane / gwaei 1.4.0 PKGBUILD

By: a guest on Jun 22nd, 2010  |  syntax: None  |  size: 1.05 KB  |  views: 76  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer:  TDY <tdy@gmx.com>
  2. # Contributor: Christoph Zeiler <rabyte_gmail>
  3.  
  4. pkgname=gwaei
  5. pkgver=1.4.0
  6. pkgrel=1
  7. pkgdesc="A Japanese-English dictionary program"
  8. arch=('i686' 'x86_64')
  9. url="http://gwaei.sourceforge.net/"
  10. license=('GPL3')
  11. depends=('curl>=7.18.0' 'gconf>=2.22.0' 'hicolor-icon-theme' 'libsexy>=0.1.11'
  12.          'libunique>=1.0.0')
  13. makedepends=('gnome-doc-utils>=0.13.0' 'pkgconfig>=0.9.0')
  14. optdepends=('rsync: provide incremental dictionary updates'
  15.             'ttf-arphic-ukai'
  16.             'ttf-kanjistrokeorders: show stroke order diagrams')
  17. install=gwaei.install
  18. source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
  19. md5sums=('2d4beccfc7c07ca5e97b1b4292a8c333')
  20.  
  21. build() {
  22.   cd "$srcdir/$pkgname-$pkgver"
  23.   ./configure --prefix=/usr --disable-schemas-install \
  24.       --with-gconf-schema-file-dir=/usr/share/gconf/schemas
  25.   make || return 1
  26. }
  27.  
  28. package() {
  29.   cd "$srcdir/$pkgname-$pkgver"
  30.   make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
  31.   ln -sf $pkgname "$pkgdir/usr/bin/waei"
  32. }
clone this paste RAW Paste Data