summaryrefslogtreecommitdiff
path: root/community/nbtscan/PKGBUILD
blob: 03c637932708b4d0b4c92c15f56d3ebb54f0e117 (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 66246 2012-02-23 05:18:07Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergio Rubio <rubiojr@biondofu.net>

pkgname=nbtscan
pkgver=1.5.1
pkgrel=5
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
}