summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..497e22e8b6a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
+
+pkgname=ncrack-git
+pkgver=0.6.0.r20.g1a4232d
+pkgrel=1
+pkgdesc="High-speed network authentication cracking tool"
+arch=('i686' 'x86_64')
+url="https://nmap.org/ncrack/"
+license=('GPL2')
+depends=('glibc' 'openssl')
+makedepends=('git')
+provides=('ncrack')
+conflicts=('ncrack')
+source=("git+https://github.com/nmap/ncrack.git")
+sha256sums=('SKIP')
+
+
+pkgver() {
+ cd "ncrack"
+
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "ncrack"
+
+ autoreconf -fi
+ ./configure --prefix="/usr"
+ make
+}
+
+package() {
+ cd "ncrack"
+
+ make DESTDIR="$pkgdir" install
+}