aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/go-websocket/APKBUILD35
1 files changed, 13 insertions, 22 deletions
diff --git a/testing/go-websocket/APKBUILD b/testing/go-websocket/APKBUILD
index 7fbdc8bba0..3095180b35 100644
--- a/testing/go-websocket/APKBUILD
+++ b/testing/go-websocket/APKBUILD
@@ -1,45 +1,36 @@
-# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
-# Maintainer:
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=go-websocket
-_realname=websocket
+_pkgname=websocket
_vendor=gorilla
-pkgver=1.1.0
+pkgver=1.2.0
pkgrel=0
pkgdesc="A WebSocket implementation for Go"
url="http://www.gorillatoolkit.org"
arch="noarch"
-license="Custom"
-depends=
-depends_dev=
-makedepends="$depends_dev"
-install=
+license="BSD-2-Clause"
subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/$_vendor/$_realname/archive/v$pkgver.tar.gz"
-builddir="$srcdir"/$_realname-$pkgver
-
-prepare() {
- cd "$builddir"
-}
+options="!check"
+source="$pkgname-$pkgver.tar.gz::https://github.com/$_vendor/$_pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir"/$_pkgname-$pkgver
build() {
- cd "$builddir"
+ return 0
}
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.md \
+ README.* \
COPYRIGHT \
AUTHORS \
+ examples \
; do \
test -e $file && mv $file "$pkgdir"/usr/share/doc/$_vendor/$pkgname
done
- mv * "$pkgdir"/usr/lib/go/src/github.com/$_vendor/$_realname || return 1
+ mv * "$pkgdir"/usr/lib/go/src/github.com/$_vendor/$_pkgname
}
-md5sums="a5a192b7f2f00845ab0b590cc6782b99 go-websocket-1.1.0.tar.gz"
-sha256sums="7580ff112797d4070f2b104ea9af090b73ff951a30323e4cdffa56129d05e56b go-websocket-1.1.0.tar.gz"
-sha512sums="45d56aff3b0408c77c335d1e386509ccd37ac2ce0b8372b472a75da9a4f33f7c97b30e85dd22ea76db6d44883f7fbb467c1e4819b1803bf2295fd2c74149fce4 go-websocket-1.1.0.tar.gz"
+sha512sums="9d405a83c6a57144af048d84a53dc0bb6f136e9e85eabcbc0d43b0f8d6c699501c99ea70baf903f916999244c53284456686163faccc30e2a19631f18f30d409 go-websocket-1.2.0.tar.gz"