PKGBUILDs/community/nbtscan/PKGBUILD

27 lines
761 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# Contributor: Sergio Rubio <rubiojr@biondofu.net>
pkgname=nbtscan
pkgver=1.5.1
pkgrel=3
pkgdesc="NBTscan is a program for scanning IP networks for NetBIOS name information."
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.inetcat.net/software/nbtscan.html"
source=(http://www.sourcefiles.org/Networking/Tools/Miscellanenous/nbtscan-1.5.1.tar.gz)
build() {
cd $startdir/src/$pkgname-${pkgver}a
./configure --prefix=/usr
make || return 1
# Copy the binary
mkdir -p $startdir/pkg/usr/bin
cp nbtscan $startdir/pkg/usr/bin
cd $startdir
# Include the nbtscan debian man page
mkdir -p $startdir/pkg/usr/share/man/man1
cp nbtscan.1.gz $startdir/pkg/usr/share/man/man1
}
md5sums=('85bb085077c380b82a6ff73e0de0c154')