summaryrefslogtreecommitdiffstats
path: root/abs/core/nmbscan/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-12-02 03:48:59 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-12-02 03:48:59 (GMT)
commitbcca25cf30b770c357864d79792fd9032dfdab7b (patch)
tree4bf9e4be5788b146ad1042c5aa64d63535ce7906 /abs/core/nmbscan/PKGBUILD
parentbd592525018d9fcae7b49099b9bf7dc548f9f857 (diff)
downloadlinhes_pkgbuild-bcca25cf30b770c357864d79792fd9032dfdab7b.zip
linhes_pkgbuild-bcca25cf30b770c357864d79792fd9032dfdab7b.tar.gz
linhes_pkgbuild-bcca25cf30b770c357864d79792fd9032dfdab7b.tar.bz2
nmbscan: upgrade
Diffstat (limited to 'abs/core/nmbscan/PKGBUILD')
-rwxr-xr-xabs/core/nmbscan/PKGBUILD26
1 files 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')