summaryrefslogtreecommitdiff
path: root/community/nbtscan/PKGBUILD
blob: f7c2fd2be2e323ed53e08237c15e9b02420fd954 (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
28
29
30
31
# $Id: PKGBUILD 59205 2011-11-21 15:02:49Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# 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')
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
	nbtscan.1.gz)
md5sums=('85bb085077c380b82a6ff73e0de0c154'
         'c9b7f61d2be12af5edc120142341c5f7')

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

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

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