blob: 09ea75502d9d17cb53c7f288fc68654eb6f11978 (
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-httputils
_pkgname=httputils
_vendor="strukturag"
pkgver=012
pkgrel=0
pkgdesc="Go support library for HTTP servers"
url="https://github.com/$_vendor/$_pkgname"
arch="noarch"
license="BSD-3-Clause"
subpackages="$pkgname-doc"
options="!check" # no testsuite
source="$pkgname-$pkgver.tar.gz::https://github.com/strukturag/$_pkgname/archive/${_pkgname}_v$pkgver.tar.gz"
builddir="$srcdir"/${_pkgname}-${_pkgname}_v$pkgver
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
}
md5sums="7c1a1b13471098238e8714dc87a144fd go-httputils-012.tar.gz"
sha256sums="a2e39573d555ed035148ba83e6cde6d18a5a836ae6da535a85f11ff5e2eb0df0 go-httputils-012.tar.gz"
sha512sums="e508c121f6b226dcc8f7eea2104e3bf620ada5c8d66e5569cb3e6f33f95d7ce5cac97f4e1b34afb34fc13e280ec9e3ea846b408412ddf3badcfb70674a328d84 go-httputils-012.tar.gz"
|