aboutsummaryrefslogtreecommitdiffstats
path: root/community/wait4ports/APKBUILD
blob: 12e2c32e4ae9c01c2c0241d137ff5395202c24d2 (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
# Contributor: Erik Ogan <erik@stealthymonkeys.com>
# Maintainer: Erik Ogan <erik@stealthymonkeys.com>
pkgname=wait4ports
pkgver=0.2.3
pkgrel=0
pkgdesc="A small utility to wait for network peer availability."
url="https://github.com/erikogan/wait4ports"
arch="all"
license="MPL-2.0"
depends=""
makedepends=""
install=""
source="${pkgname}-${pkgver}.tar.gz::https://github.com/erikogan/wait4ports/archive/v${pkgver}.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make PREFIX="$pkgdir" install
}

check() {
  $builddir/wait4ports -v
}

sha512sums="516a56e245605ca15c51f0b2a009360d41160aef5139860239efc308189397e71725bcb5c01b031b483c04358c325c7bdff394689e3bf0fa51ce51031ddf7b32  wait4ports-0.2.3.tar.gz"