summaryrefslogtreecommitdiff
path: root/community/nbtscan/PKGBUILD
blob: 61286a6b9099cd375a3ec4a5e313ec5aa3c1cd1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Sergio Rubio <rubiojr@biondofu.net>

pkgname=nbtscan
pkgver=1.5.1
pkgrel=4
pkgdesc="NBTscan is a program for scanning IP networks for NetBIOS name information."
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=(glibc)
url="http://www.inetcat.net/software/nbtscan.html"
source=(http://www.sourcefiles.org/Networking/Tools/Miscellanenous/nbtscan-1.5.1.tar.gz)
md5sums=('85bb085077c380b82a6ff73e0de0c154')

build() {
    cd $srcdir/$pkgname-${pkgver}a
    ./configure --prefix=/usr
    make || return 1  

    # Copy the binary
    mkdir -p $pkgdir/usr/bin
    cp nbtscan $pkgdir/usr/bin

    cd $startdir
    # Include the nbtscan debian man page
    mkdir -p $pkgdir/usr/share/man/man1
    cp nbtscan.1.gz $pkgdir/usr/share/man/man1
}