This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 11th, 2010  |  syntax: Bash  |  size: 0.89 KB  |  views: 144  |  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. pkgname=ntorrent
  2. pkgver=0.5.1
  3. pkgrel=2
  4. pkgdesc="A graphical user interface client to rtorrent written in java."
  5. arch=('i686' 'x86_64')
  6. url="http://code.google.com/p/ntorrent"
  7. license=('GPL3')
  8. depends=('rtorrent' 'java-runtime')
  9. source=("http://ntorrent.googlecode.com/files/nTorrent-bin-$pkgver.tar.bz2"
  10.         'ntorrent.sh'
  11.         'ntorrent.desktop')
  12. md5sums=('1ea043bd77c21fb3969b55ed3008d7b4'
  13.          '355c948db97bafdf19c01b574c21dbe7'
  14.          '5576873b5f71b1b102af9eeafc4c4831')
  15. build() {
  16.         cd $srcdir
  17.         install -d $pkgdir/usr/share/{java/,}$pkgname
  18.         install -m644 lib/* $pkgdir/usr/share/java/$pkgname
  19.         cp -r plugins boot.properties  $pkgdir/usr/share/$pkgname
  20.         install -D -m755 ntorrent.sh $pkgdir/usr/bin/ntorrent
  21.         install -D -m644 ntorrent.desktop $pkgdir/usr/share/applications/ntorrent.desktop
  22.         install -D -m644 plugins/ntorrent/icons/ntorrent48.png $pkgdir/usr/share/pixmaps/ntorrent.png
  23. }
clone this paste RAW Paste Data