From e42557c1a763adf485ff34930e1c56e27456f699 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Tue, 3 Jan 2017 14:55:38 +0000 Subject: testing/go-phoenix: new aport Go library providing support functionality for application startup, configuration, logging, and profiling --- testing/go-phoenix/APKBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 testing/go-phoenix/APKBUILD (limited to 'testing') 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 +# 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" -- cgit v1.2.3