Skip to content
Snippets Groups Projects
Commit 225d7115 authored by Leonardo Arena's avatar Leonardo Arena
Browse files

testing/go-phoenix: depends on go, APKBUILD var name update

Really take maintainership
parent 493512b2
No related branches found
No related tags found
No related merge requests found
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=go-phoenix pkgname=go-phoenix
_realname=phoenix _pkgname=phoenix
_vendor="strukturag" _vendor="strukturag"
pkgver=1.0.2 pkgver=1.0.2
_ver=${pkgver//./} _ver=${pkgver//./}
pkgrel=1 pkgrel=2
pkgdesc="Go library providing support functionality for application startup, configuration, logging, and profiling." pkgdesc="Go library providing support functionality for application startup, configuration, logging, and profiling."
url="https://github.com/$_vendor/$_realname" url="https://github.com/$_vendor/$_pkgname"
arch="noarch" arch="noarch"
license="BSD-3-Clause" license="BSD-3-Clause"
depends="go"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
options="!check" # no testsuite options="!check" # no testsuite
source="$pkgname-$pkgver.tar.gz::https://github.com/strukturag/$_realname/archive/${_realname}_v$_ver.tar.gz" source="$pkgname-$pkgver.tar.gz::https://github.com/strukturag/$_pkgname/archive/${_pkgname}_v$_ver.tar.gz"
builddir="$srcdir"/$_realname-${_realname}_v$_ver builddir="$srcdir"/$_pkgname-${_pkgname}_v$_ver
build() { build() {
return 0 return 0
...@@ -22,7 +22,7 @@ build() { ...@@ -22,7 +22,7 @@ build() {
package() { package() {
cd "$builddir" cd "$builddir"
mkdir -p "$pkgdir"/usr/share/doc/$_vendor/$pkgname \ mkdir -p "$pkgdir"/usr/share/doc/$_vendor/$pkgname \
"$pkgdir"/usr/lib/go/src/github.com/$_vendor/$_realname "$pkgdir"/usr/lib/go/src/github.com/$_vendor/$_pkgname
for file in \ for file in \
LICENSE \ LICENSE \
README.* \ README.* \
...@@ -31,7 +31,7 @@ package() { ...@@ -31,7 +31,7 @@ package() {
; do \ ; do \
test -e $file && mv $file "$pkgdir"/usr/share/doc/$_vendor/$pkgname test -e $file && mv $file "$pkgdir"/usr/share/doc/$_vendor/$pkgname
done done
mv * "$pkgdir"/usr/lib/go/src/github.com/$_vendor/$_realname mv * "$pkgdir"/usr/lib/go/src/github.com/$_vendor/$_pkgname
} }
sha512sums="7b673e57135098b99fcc54cbe6b72dbd84a0342e2f8371e3b815e0a7598c2e4d4dccbbe6a71d250b88f9ad9ce285a4e108886ff3d2a77acc7eba1cf19bd4f7a2 go-phoenix-1.0.2.tar.gz" sha512sums="7b673e57135098b99fcc54cbe6b72dbd84a0342e2f8371e3b815e0a7598c2e4d4dccbbe6a71d250b88f9ad9ce285a4e108886ff3d2a77acc7eba1cf19bd4f7a2 go-phoenix-1.0.2.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment