aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/go-phoenix/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/go-phoenix/APKBUILD b/testing/go-phoenix/APKBUILD
new file mode 100644
index 0000000000..1d9e6d3c30
--- /dev/null
+++ b/testing/go-phoenix/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer:
+pkgname=go-phoenix
+_realname=phoenix
+_vendor="strukturag"
+pkgver=1.0.2
+_ver=${pkgver//./}
+pkgrel=0
+pkgdesc="Go library providing support functionality for application startup, configuration, logging, and profiling."
+url="https://github.com/$_vendor/$_realname"
+arch="noarch"
+license="Custom"
+depends=
+depends_dev=
+makedepends="$depends_dev"
+install=
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/strukturag/$_realname/archive/${_realname}_v$_ver.tar.gz"
+builddir="$srcdir"/$_realname-${_realname}_v$_ver
+
+
+prepare() {
+ cd "$builddir"
+}
+
+build() {
+ cd "$builddir"
+}
+
+package() {
+ cd "$builddir"
+ mkdir -p "$pkgdir"/usr/share/doc/$_vendor/$pkgname \
+ "$pkgdir"/usr/lib/go/src/github.com/$_vendor/$_realname
+ for file in \
+ LICENSE \
+ README.md \
+ COPYRIGHT \
+ AUTHORS \
+ ; do \
+ test -e $file && mv $file "$pkgdir"/usr/share/doc/$_vendor/$pkgname
+ done
+ mv * "$pkgdir"/usr/lib/go/src/github.com/$_vendor/$_realname || return 1
+}
+
+md5sums="edd9fa60d9e58c74445e502843e14397 go-phoenix-1.0.2.tar.gz"
+sha256sums="33f4fbe37c478d5f023c1004e93eb1bf5bee56c4c41eba555ebc7442812318c8 go-phoenix-1.0.2.tar.gz"
+sha512sums="7b673e57135098b99fcc54cbe6b72dbd84a0342e2f8371e3b815e0a7598c2e4d4dccbbe6a71d250b88f9ad9ce285a4e108886ff3d2a77acc7eba1cf19bd4f7a2 go-phoenix-1.0.2.tar.gz"