summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 16036d9a12afbc35fc7e6f74d5596457267e66f9 (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
26
27
28
# Maintainer: Christian Hesse <mail@eworm.de>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=ethstatus
pkgver=0.4.9
pkgrel=1
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/${pkgname}/${pkgname}_${pkgver}.tar.xz")
sha256sums=('4a85051f9d704c88e770577f18caaf4b97583e622a919dfdc87e0bd6b8166722')

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

	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"

	install -D -m0755 ethstatus "${pkgdir}/usr/bin/ethstatus"
	install -D -m0644 ethstatus.1 "${pkgdir}/usr/share/man/man1/ethstatus.1"
}