Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 23rd, 2010  |  syntax: None  |  size: 1.30 KB  |  hits: 50  |  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: Orivej Desh <smpuj@bk.ru>
  2. pkgname=wikipediadumpreader
  3. _pkgname=wikipediaDumpReader
  4. pkgver=0.2.10
  5. pkgrel=2
  6. pkgdesc="An application to easily read Wikipedia's downloaded dump files."
  7. arch=("i686" "x86_64")
  8. url="http://www.kde-apps.org/content/show.php/Wikipedia+Dump+Reader?content=65244"
  9. license=("GPL")
  10. depends=("pyqt" "texvc")
  11. makedepends=()
  12. source=("http://launchpad.net/wikipediadumpreader/trunk/$pkgver/+download/$_pkgname-$pkgver.tar.gz"
  13.         "Makefile" "wikipediadumpreader" "python26.patch")
  14. md5sums=('2519f7078b47e853246ba1c8fd89f53d' '17adda73dcb7e1d828156bcfaa6cc260'\
  15.          '8c048edd4575eebb699fc8ff82080417' 'b99bdd61a6bf823d5934634a612b30c8')
  16.  
  17. build() {
  18.   cd $srcdir/$_pkgname-$pkgver
  19.   patch -Np2 -i ../python26.patch || return 1  
  20.   make -C src -f $srcdir/Makefile || return 1
  21.   make -C zran_wdr_src || return 1
  22.   DESTDIR="$pkgdir/usr/share/wikipediadumpreader"
  23.   install -d "$DESTDIR/mod"
  24.   install -m644 QTextBrowser2.py convert_idx_s.py form3.ui loader.ui mathexp.py mparser.py "$DESTDIR"
  25.   install -m755 dumpReader.py "$DESTDIR"
  26.   install -m755 src/bz2.so "$DESTDIR/mod"
  27.   install -m755 zran_wdr_src/zran "$DESTDIR/zran_wdr"
  28.   touch "$DESTDIR/mod/__init__.py"
  29.   install -Dm755 "$srcdir/wikipediadumpreader" "$pkgdir/usr/bin/wikipediadumpreader"
  30. }
  31. # vim: ts=2