summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12018-03-13 14:01:37 +0800
committerChocobo12018-03-13 14:05:17 +0800
commit3917ec58a453ccf272ad18e4614d4a179b142714 (patch)
treea631b03b1596b8214d6e88aaa2d17c51d427ef79
downloadaur-ncrack-git.tar.gz
newpkg: ncrack-git 0.6.0.r20.g1a4232d-1
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD36
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5434e914608
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = ncrack-git
+ pkgdesc = High-speed network authentication cracking tool
+ pkgver = 0.6.0.r20.g1a4232d
+ pkgrel = 1
+ url = https://nmap.org/ncrack/
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = git
+ depends = glibc
+ depends = openssl
+ provides = ncrack
+ conflicts = ncrack
+ source = git+https://github.com/nmap/ncrack.git
+ sha256sums = SKIP
+
+pkgname = ncrack-git
+
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
+}