summaryrefslogtreecommitdiff
path: root/extra/ethstatus/PKGBUILD
blob: 4489cea8dc2f11c1448ea4170e6281b46df96848 (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 215806 2014-06-30 16:10:05Z fyan $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=ethstatus
pkgver=0.4.3
pkgrel=3
pkgdesc="A simple program for displaying commonly needed/wanted statistics in real time of incoming and outgoing traffic"
arch=('i686' 'x86_64')
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"
}