blob: a988abecf1b87288cac6c55c9acc6069e3d6ead0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=ncrack-git
pkgver=0.7.r54.g7fab46a
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=$pkgver")
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
}
|