Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

PKGBUILD

By: a guest on Feb 12th, 2011  |  syntax: None  |  size: 1.12 KB  |  hits: 163  |  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.5.2
  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.19.6' 'gconf>=2.24.0' 'hicolor-icon-theme' 'libsexy>=0.1.11'
  12.          'libunique>=1.0.0')
  13. makedepends=('gnome-doc-utils>=0.14.0' 'pkg-config>=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=('f51ae472828f077170ae88f69a14d775')
  20.  
  21. build() {
  22.   cd "$srcdir/$pkgname-$pkgver"
  23.   ./configure --prefix=/usr --disable-scrollkeeper  --disable-schemas-install \
  24.     --with-gconf-schema-file-dir=/usr/share/gconf/schemas
  25.   make
  26. }
  27.  
  28. package() {
  29.   cd "$srcdir/$pkgname-$pkgver"
  30.   make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
  31.   glib-compile-schemas "$pkgdir/usr/share/glib-2.0/schemas"
  32.   ln -sf $pkgname "$pkgdir/usr/bin/waei"
  33. }