summaryrefslogtreecommitdiffstats
path: root/testing/halfscan6/APKBUILD
blob: 2c9c14b63f1dbaa926d7b461a4de99df342bbeb6 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=halfscan6
pkgver=0.2
pkgrel=0
pkgdesc="An simple IPv6 tcp port scanner"
url="http://www.habets.pp.se/synscan/programs.php?prog=halfscan6"
arch="all"
license="GPL2+"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
source="http://www.habets.pp.se/synscan/files/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
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"
	make || return 1
}

package() {
	cd "$_builddir"
	install -Dm755 halfscan6 "$pkgdir"/usr/bin/$pkgname
}

md5sums="a77f0341aa2ccde43cd41157103fbd92  halfscan6-0.2.tar.gz"
sha256sums="544531f7bc114f97c57872ad8d803ef44245cebcdd6d1e6c106b1be10ca98050  halfscan6-0.2.tar.gz"
sha512sums="b363714edd60ee66547d401811a042a9760dd8e94faef7ceeb68d0e88e03c0d179e82b7c8ddd0ccca5b9f67a1fad05b446a6c762a903cfc0a205049536e5933e  halfscan6-0.2.tar.gz"