Initial PKGBUILD status as of 28.11.2014

This commit is contained in:
Jaroslav Lichtblau 2014-11-28 20:17:14 +01:00
commit b95d02a99a
3 changed files with 47 additions and 0 deletions

15
.SRCINFO Normal file
View file

@ -0,0 +1,15 @@
pkgbase = sntop
pkgdesc = Curses-based top-esque console utility for monitoring the connectivity of network hosts
pkgver = 1.4.3
pkgrel = 1
url = http://sntop.sourceforge.net/
install = sntop.install
arch = i686
license = GPL
depends = ncurses
depends = fping
source = http://downloads.sourceforge.net/project/sntop/sntop/1.4.3/sntop-1.4.3.tar.gz
sha256sums = 943a5af1905c3ae7ead064e531cde6e9b3dc82598bbda26ed4a43788d81d6d89
pkgname = sntop

28
PKGBUILD Normal file
View file

@ -0,0 +1,28 @@
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=sntop
pkgver=1.4.3
pkgrel=1
pkgdesc="Curses-based top-esque console utility for monitoring the connectivity of network hosts"
arch=('i686')
url="http://sntop.sourceforge.net/"
license=('GPL')
depends=('ncurses' 'fping')
install=$pkgname.install
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('943a5af1905c3ae7ead064e531cde6e9b3dc82598bbda26ed4a43788d81d6d89')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/$pkgname-$pkgver
install -D -m755 $pkgname ${pkgdir}/usr/bin/$pkgname
install -D -m644 sntoprc.EXAMPLE ${pkgdir}/usr/share/sntop/sntoprc.EXAMPLE
install -D -m644 $pkgname.1 ${pkgdir}/usr/share/man/man1/$pkgname.1
}

4
sntop.install Normal file
View file

@ -0,0 +1,4 @@
post_install() {
echo "=> See the example configuration file, ammend it to your"
echo "=> needs and place in /etc or in your $HOME directory."
}