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

Untitled

By: a guest on Apr 24th, 2013  |  syntax: None  |  size: 0.91 KB  |  views: 65  |  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: Spider.007 <archPackage@spider007.net>
  2. # Contributor: Spider.007 <archPackage@spider007.net>
  3. packager="Spider.007 <archPackage@spider007.net>"
  4. pkgname=arm
  5. pkgver=1.4.5.0
  6. pkgrel=1
  7. pkgdesc="Anonymizing Relay Monitor is a terminal status monitor for Tor relays. This works much like top does for system usage, providing real time statistics."
  8. url="http://www.atagar.com/arm/"
  9. groups=network
  10. provides=
  11. license='GPL'
  12. depends=('python2>2.5')
  13. source=("https://archive.torproject.org/arm/$pkgname-$pkgver.tar.bz2")
  14. md5sums=('f85f306e50b90796ab7097d948e8fcf2')
  15. arch=('any')
  16.  
  17. package() {
  18.         cd $srcdir/$pkgname
  19.  
  20.         mkdir -p $pkgdir/{usr/bin,usr/share/man/man1,usr/share/doc/arm,usr/share/arm}
  21.         install arm $pkgdir/usr/bin/
  22.         sed -i 's/python/python2/g' $pkgdir/usr/bin/arm
  23.  
  24.         cp -Rp src/* $pkgdir/usr/share/arm/
  25.  
  26.         cp armrc.sample $pkgdir/usr/share/doc/arm/
  27.         cp src/resources/arm.1 $pkgdir/usr/share/man/man1/
  28. }