From bcca25cf30b770c357864d79792fd9032dfdab7b Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Thu, 2 Dec 2010 03:48:59 +0000
Subject: nmbscan: upgrade

---
 abs/core/nmbscan/PKGBUILD | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/abs/core/nmbscan/PKGBUILD b/abs/core/nmbscan/PKGBUILD
index 7b853d2..8c03f9f 100755
--- a/abs/core/nmbscan/PKGBUILD
+++ b/abs/core/nmbscan/PKGBUILD
@@ -1,19 +1,21 @@
 pkgname=nmbscan
-pkgver=1.2.5
+pkgver=1.2.6
 pkgrel=1
 pkgdesc="nmbscan scans the shares of a SMB/NetBIOS network, using the NMB/SMB/NetBIOS protocols."
-arch=(i686 x86_64)
-url="http://bgarbier.free.fr"
-source=("http://knoppmyth.net/repo/source/nmbscan-1.2.5.tar.gz")
-
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL')
+url="http://nmbscan.g76r.eu/"
+#source=("http://knoppmyth.net/repo/source/nmbscan-1.2.5.tar.gz")
+source=("${url}/down.php?file=${pkgname}-${pkgver}.tar.gz")
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver/
-   make || return 1
-   mkdir -p $startdir/pkg/usr/bin
-
-  install -D -m755 nmbscan $startdir/pkg/usr/bin/nmbscan
-
+  cd ${srcdir}
+  make || return 1
 }
+package() {
+  cd ${srcdir}
+  mkdir -p ${pkgdir}/usr/bin
 
-
+  install -D -m755 nmbscan ${pkgdir}/usr/bin/nmbscan
+}
+md5sums=('18ae53952d074c013994baddeffa2a5d')
-- 
cgit v0.12