diff options
Diffstat (limited to 'extra/ethstatus/PKGBUILD')
-rw-r--r-- | extra/ethstatus/PKGBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/extra/ethstatus/PKGBUILD b/extra/ethstatus/PKGBUILD index 560acda39..9333a6adf 100644 --- a/extra/ethstatus/PKGBUILD +++ b/extra/ethstatus/PKGBUILD @@ -1,12 +1,12 @@ -# $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" -arch=('i686' 'x86_64' 'mips64el') +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') depends=('ncurses') @@ -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" } |