blob: 848ef8c3a477e2f84ac3b93d866f26ed0f6066c5 (
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
|
# Maintainer: Stefano Gabryel <esse[dot]gab2[at]gmail[dot]com>
pkgname=dirstalk
pkgver=1.3.3
pkgrel=1
pkgdesc='Multi threaded application designed to brute force paths on web servers, modern alternative to dirb and dirbuster'
url='https://github.com/stefanoj3/dirstalk'
arch=('any')
license=('MIT')
makedepends=('go' 'git')
options=('!emptydirs')
source=(https://github.com/stefanoj3/dirstalk/archive/${pkgver}.tar.gz)
sha512sums=('282f6de56054b3d6a92af3af0d658623213af6233dda667ff59fa890d1ef09e229f192c6fb0a3ba7e73ae0617637c342d71a17c41f703c3b10a44393873ab4ea')
provides=('dirstalk')
prepare() {
export GOPATH="${srcdir}/go"
mkdir -p go/src/github.com/stefanoj3
ln -rTsf ${pkgname}-${pkgver} go/src/github.com/stefanoj3/dirstalk
}
build() {
cd go/src/github.com/stefanoj3/dirstalk
export GOPATH="${srcdir}/go"
make build
}
package() {
cd ${pkgname}-${pkgver}
install -Dm 755 dist/dirstalk -t "${pkgdir}/usr/bin"
}
|