diff options
Diffstat (limited to 'nettop/PKGBUILD')
-rw-r--r-- | nettop/PKGBUILD | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/nettop/PKGBUILD b/nettop/PKGBUILD deleted file mode 100644 index 5fd86ad..0000000 --- a/nettop/PKGBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> - -pkgname=nettop -pkgver=0.2.3 -pkgrel=3 -pkgdesc="A program which looks like top, but is for network packets" -arch=('i686' 'x86_64') -url="http://srparish.net/scripts/" -license=('BSD') -depends=('slang' 'libpcap') -makedepends=('patch') -source=(http://www.sourcefiles.org/Networking/Tools/Scripts/$pkgname-$pkgver.tar.gz \ - $pkgname-$pkgver-compile.diff) - -md5sums=('e76602717e79a26b0ab15ab6799fb1ef' - '49a7768aeb22df656947448b5ef6e734') - -build() { - cd ${srcdir}/$pkgname-$pkgver - patch -Np0 -i ${srcdir}/$pkgname-$pkgver-compile.diff || return 1 - - install -d ${pkgdir}/usr/bin \ - ${pkgdir}/usr/share/{doc,licenses}/${pkgname} || return 1 - - ./configure --prefix=/usr --sysconfdir=/etc/nettop || return 1 - make || return 1 - make prefix=${pkgdir}/usr install || return 1 - -# License - cat ${srcdir}/$pkgname-$pkgver/${pkgname}.c | tail -n+3 | head -n26 > \ - ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1 - - install -D -m644 ChangeLog README THANKS ${pkgdir}/usr/share/doc/${pkgname} || return 1 -} |