summaryrefslogtreecommitdiff
path: root/extra/ethstatus/PKGBUILD
blob: b9352a85ada529758072fe93e4282ebdf7ce84ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 128471 2011-06-24 03:12:05Z eric $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=ethstatus
pkgver=0.4.3
pkgrel=2
pkgdesc="A simple program for displaying commonly needed/wanted statistics in real time of incoming and outgoing traffic"
arch=('i686' 'x86_64' 'mips64el')
url="http://packages.qa.debian.org/e/ethstatus.html"
license=('GPL')
depends=('ncurses')
source=(http://ftp.debian.org/debian/pool/main/e/ethstatus/ethstatus_$pkgver.tar.gz)
md5sums=('088412ddff67f50e32bc9d45e56b2658')

build() {
  cd "$srcdir/ethstatus-$pkgver"
  make
}

package() {
  cd "$srcdir/ethstatus-$pkgver"
  install -D -m755 ethstatus "$pkgdir/usr/bin/ethstatus"
  install -D -m644 ethstatus.1 "$pkgdir/usr/share/man/man1/ethstatus.1"
}