Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

mdic PKGBUILD

By: Alir3z4 on May 6th, 2012  |  syntax: Bash  |  size: 0.73 KB  |  views: 47  |  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. # Contributor & Maintainer: mutlu_inek <mutlu_inek@yahoo.de>
  2. # Contributors: Xianwen Chen <xianwen.chen@gmail.com>
  3.  
  4. pkgname=mdic
  5. pkgver=0.8.1
  6. pkgrel=1
  7. pkgdesc="A Qt-based program to access multilingual dictionaries and Google Translate."
  8. arch=('i686' 'x86_64')
  9. url="http://mdic.sourceforge.net/"
  10. license=('GPL3')
  11. depends=('qt' 'aspell')
  12. makedepends=('cmake' 'automoc4')
  13. conflicts=('kdemod-extragear-mdic')
  14. source=(http://downloads.sourceforge.net/project/$pkgname/MDic/$pkgver/$pkgname-$pkgver.tar.gz)
  15. md5sums=('d8e0397b3480446fbd3d078ba24548d1')
  16.  
  17. build() {
  18.   cd $srcdir/$pkgname
  19.   cmake -DCMAKE_INSTALL_PREFIX=/usr
  20.   make || return 1
  21. }
  22.  
  23. package() {
  24.   cd $srcdir/$pkgname
  25.   make DESTDIR=$pkgdir install || return 1
  26. }