summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 52d5af7efb777c74cbe1a5f401a6d250825fe64c (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
# Maintainer heichblatt <git@hanneseichblatt.de>
pkgname=seclists-git
pkgbase=seclists
pkgver=r283.8ef8694
pkgrel=1
pkgdesc="A collection of multiple types of lists used during security assessments."
arch=('any')
url="https://github.com/danielmiessler/SecLists/"
license=('unknown')
groups=()
depends=()
makedepends=('git')
provides=("${pkgname}")
conflicts=()
replaces=()
backup=()
options=()
install=
source=('seclists-git::git+https://github.com/danielmiessler/SecLists.git')
noextract=()
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}


package() {
	mkdir -p "${pkgdir}/usr/share/wordlists/${pkgname}"
	find "${srcdir}/${pkgname}" -maxdepth 1 | grep -v \\.git | xargs -I{} cp -r {} "${pkgdir}/usr/share/wordlists/${pkgname}"
}