aboutsummaryrefslogtreecommitdiffstats
path: root/testing/acccheck/APKBUILD
blob: e7c58a5ff2414fe1aa7c141b64f673e2c834cdea (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
38
39
40
41
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer:
pkgname=acccheck
pkgver=0.2.1
pkgrel=0
pkgdesc="A password dictionary attack tool"
url="https://labs.portcullis.co.uk/tools/acccheck/"
arch="noarch"
license="GPLv2"
depends="perl"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="https://labs.portcullis.co.uk/download/$pkgname-0-2-1.tar.gz"

_builddir="$srcdir/$pkgname-0-2-1"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
}

package() {
	cd "$_builddir"
	mkdir -p "$pkgdir/usr/bin/"
	install -Dm755 acccheck.pl "$pkgdir/usr/bin/"

}

md5sums="ad14f58e04bc683fce5f72ef3cdb745d  acccheck-0-2-1.tar.gz"
sha256sums="fc2274dfa16207e1b74c6fb40307286cfb4d83d3d3f842737c8e47f7c531e380  acccheck-0-2-1.tar.gz"
sha512sums="28c1c5fa465e14d5447c42f539b95d436f303de801f6687d4cf22bd9f77371c68f84ad7b655c845bc42b6bdab851c379a72081feea2e1860e6619c089447238b  acccheck-0-2-1.tar.gz"