blob: bd19e3be1ad1b27c28050ce8a77832b15c261db7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=go-phoenix
_pkgname=phoenix
_vendor="strukturag"
pkgver=1.0.2
_ver=${pkgver//./}
pkgrel=2
pkgdesc="Go library providing support functionality for application startup, configuration, logging, and profiling."
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/$_pkgname/archive/${_pkgname}_v$_ver.tar.gz"
builddir="$srcdir"/$_pkgname-${_pkgname}_v$_ver
build() {
return 0
}
package() {
cd "$builddir"
mkdir -p "$pkgdir"/usr/share/doc/$_vendor/$pkgname \
"$pkgdir"/usr/lib/go/src/github.com/$_vendor/$_pkgname
for file in \
LICENSE \
README.* \
COPYRIGHT \
AUTHORS \
; do \
test -e $file && mv $file "$pkgdir"/usr/share/doc/$_vendor/$pkgname
done
mv * "$pkgdir"/usr/lib/go/src/github.com/$_vendor/$_pkgname
}
sha512sums="7b673e57135098b99fcc54cbe6b72dbd84a0342e2f8371e3b815e0a7598c2e4d4dccbbe6a71d250b88f9ad9ce285a4e108886ff3d2a77acc7eba1cf19bd4f7a2 go-phoenix-1.0.2.tar.gz"
|