updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / arm / PKGBUILD
blob1f7195b620ab6dce8e2183d0e6f7c84cbd562924
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.4.1
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=('a3bb93f7d7589bbc54c9b2d4e24d878b')
15 arch=('any')
17 build() {
18         cd $startdir/src/$pkgname
20         mkdir -p $startdir/pkg/{usr/bin,usr/share/man/man1,usr/share/doc/arm,usr/share/arm}
21         install arm $startdir/pkg/usr/bin/
22         sed -i 's/python/python2/g' $startdir/pkg/usr/bin/arm
24         cp -Rp src/* $startdir/pkg/usr/share/arm/
26         cp armrc.sample $startdir/pkg/usr/share/doc/arm/
27         cp src/resources/arm.1 $startdir/pkg/usr/share/man/man1/