aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammad Abdolirad <m.abdolirad@gmail.com>2020-02-08 13:09:53 +0330
committerRasmus Thomsen <oss@cogitri.dev>2020-02-14 15:51:52 +0100
commit25bd891344034f48e1cccfca8f1248f8c3ba97f1 (patch)
tree551d774301cce0a1be1bb32e9d0504aec2dd6c3b
parentb3651ed17a26bb43839b53cc0e84503c6b80f318 (diff)
downloadaports-25bd891344034f48e1cccfca8f1248f8c3ba97f1.tar.bz2
aports-25bd891344034f48e1cccfca8f1248f8c3ba97f1.tar.xz
testing/wait4x: new aport
https://github.com/atkrad/wait4x Waiting for a port to enter into specify state
-rw-r--r--testing/wait4x/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/wait4x/APKBUILD b/testing/wait4x/APKBUILD
new file mode 100644
index 0000000000..9ec0bcad48
--- /dev/null
+++ b/testing/wait4x/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Mohammad Abdolirad <m.abdolirad@gmail.com>
+# Maintainer: Mohammad Abdolirad <m.abdolirad@gmail.com>
+pkgname="wait4x"
+pkgver="0.1.0"
+pkgrel=0
+pkgdesc="Waiting for a port to enter into specify state"
+url="https://github.com/atkrad/wait4x"
+arch="all"
+license="MIT"
+makedepends="go"
+source="$pkgname-$pkgver.tar.gz::https://github.com/atkrad/wait4x/archive/v$pkgver.tar.gz"
+options="!check"
+_commitsha="57550b74"
+_commitdatetime="2020-02-08T06:25:37Z"
+
+build() {
+ go build -v \
+ -ldflags "-X github.com/atkrad/wait4x/cmd.AppVersion=v$pkgver -X github.com/atkrad/wait4x/cmd.GitCommit=$_commitsha -X github.com/atkrad/wait4x/cmd.BuildTime=$_commitdatetime" \
+ -o bin/$pkgname
+}
+
+package() {
+ install -Dm755 "$builddir"/bin/$pkgname "$pkgdir"/usr/bin/$pkgname
+}
+
+sha512sums="4914c20c1c9a56c8880160c2a049b8d1fe4ebb05ba67008e2464a3368247ac231a97435e9e7b0fef4e9bf94a083435e904b5545661383f628cff4300dfd425c5 wait4x-0.1.0.tar.gz"