summaryrefslogtreecommitdiff
path: root/extra/ethstatus
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-24 23:06:35 +0000
committerroot <root@rshg047.dnsready.net>2011-06-24 23:06:35 +0000
commit71f58605e914de11f3a9b7cc2f27b0c52fb8d4ba (patch)
tree948002f901215fa91b99058ec3bfc4a51475018d /extra/ethstatus
parent7347bb994a41d021c83e97b503f577f2399302e7 (diff)
Fri Jun 24 23:06:35 UTC 2011
Diffstat (limited to 'extra/ethstatus')
-rw-r--r--extra/ethstatus/PKGBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/extra/ethstatus/PKGBUILD b/extra/ethstatus/PKGBUILD
index 7698321bb..9333a6adf 100644
--- a/extra/ethstatus/PKGBUILD
+++ b/extra/ethstatus/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 28971 2009-03-04 02:59:17Z eric $
+# $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=1
-pkgdesc="EthStatus was developed for Linux users that are usually in console mode, based on PPPStatus"
+pkgrel=2
+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')
@@ -14,8 +14,12 @@ source=(http://ftp.debian.org/debian/pool/main/e/ethstatus/ethstatus_$pkgver.tar
md5sums=('088412ddff67f50e32bc9d45e56b2658')
build() {
- cd $srcdir/ethstatus-$pkgver
- make || return 1
- install -D -m755 ethstatus $pkgdir/usr/bin/ethstatus || return 1
- install -D -m644 ethstatus.1 $pkgdir/usr/share/man/man1/ethstatus.1 || return 1
+ 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"
}