summaryrefslogtreecommitdiff
path: root/community/nbtscan/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/nbtscan/PKGBUILD')
-rw-r--r--community/nbtscan/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/nbtscan/PKGBUILD b/community/nbtscan/PKGBUILD
new file mode 100644
index 000000000..03c637932
--- /dev/null
+++ b/community/nbtscan/PKGBUILD
@@ -0,0 +1,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
+}