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

Test

By: a guest on Nov 13th, 2011  |  syntax: None  |  size: 1.33 KB  |  views: 46  |  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: Vojtech Kral <kral.vojtech at gmail>
  2. # Contributor:  Arkham <arkham at archlinux dot us>
  3. # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
  4.  
  5. pkgname=freerapid
  6. pkgver=0.86u1
  7. _build=''
  8. pkgrel=1
  9. pkgdesc="A Java-based download manager for Rapidshare and other file sharing archives"
  10. arch=('any')
  11. url="http://wordrider.net/freerapid/"
  12. license=('GPL')
  13. depends=('java-runtime')
  14. provides=('frd')
  15. source=(http://ompldr.org/vYjlqbA.zip
  16.         $pkgname.sh
  17.         $pkgname.desktop)
  18.  
  19. sha256sums=('c74b03feb24f3a61f4d34691a9bacf7834e4eb02ef6e5150f22057cedc411a9c'
  20.             'd165e2a4aa8dbf2e567589a657546f805998284d7939f20be75dab50139abd84'
  21.             '5bbca23e1d4225f86aecc84d50ebe100c32b42522cb684a55feecab1ca21e13c')
  22.  
  23. # build()
  24. # {
  25. # }
  26.  
  27. package()
  28. {
  29.     cd $srcdir/FreeRapid-$pkgver$_build
  30.  
  31.     # Copy data and fix permissions
  32.     install -d "$pkgdir/usr/share/$pkgname"
  33.     cp -rf frd.jar lib/ lookandfeel/ plugins/ "$pkgdir/usr/share/$pkgname/"
  34.     find "$pkgdir/usr/share/$pkgname" -type f -exec chmod 644 '{}' +
  35.  
  36.     # Install bin, icon and desktop file
  37.     install -Dm 755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
  38.     ln -sf "$pkgname" "$pkgdir/usr/bin/frd"
  39.     install -Dm 644 frd.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
  40.     install -Dm 644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
  41. }
clone this paste RAW Paste Data