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

Really take maintainership
This commit is contained in:
Leonardo Arena 2018-01-12 15:12:31 +00:00
parent 493512b29e
commit 225d7115b1

View File

@ -1,19 +1,19 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=go-phoenix
_realname=phoenix
_pkgname=phoenix
_vendor="strukturag"
pkgver=1.0.2
_ver=${pkgver//./}
pkgrel=1
pkgrel=2
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"
license="BSD-3-Clause"
depends="go"
subpackages="$pkgname-doc"
options="!check" # no testsuite
source="$pkgname-$pkgver.tar.gz::https://github.com/strukturag/$_realname/archive/${_realname}_v$_ver.tar.gz"
builddir="$srcdir"/$_realname-${_realname}_v$_ver
source="$pkgname-$pkgver.tar.gz::https://github.com/strukturag/$_pkgname/archive/${_pkgname}_v$_ver.tar.gz"
builddir="$srcdir"/$_pkgname-${_pkgname}_v$_ver
build() {
return 0
@ -22,7 +22,7 @@ build() {
package() {
cd "$builddir"
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 \
LICENSE \
README.* \
@ -31,7 +31,7 @@ package() {
; do \
test -e $file && mv $file "$pkgdir"/usr/share/doc/$_vendor/$pkgname
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"