blob: 3c40e3f90c4948d8db5a6228c41bbe481174ec4e (
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
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=go-uuid
_pkgname=go.uuid
pkgver=1.2.0
pkgrel=2
pkgdesc="UUID package for Go"
url="https://github.com/satori/$_pkgname"
arch="noarch"
license="MIT"
depends="go"
subpackages="$pkgname-doc"
_vendor="satori"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/$_vendor/$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$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
}
sha512sums="ed1089397ec2bd4f8852ec3d0888a48be73f183e1b2e582c74fcc6363f605bbcf7dcbb26142eeffe23026b72ec85dbe6af52ae1e16234258dd9a2d7a6bdc8dae go-uuid-1.2.0.tar.gz"
|