testing/spreed-webrtc: add check(), cleanup

This commit is contained in:
Leonardo Arena 2018-01-12 11:11:05 +00:00
parent 81039e50e1
commit 8e5146b883

View File

@ -2,14 +2,12 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=spreed-webrtc
pkgver=0.29.7
pkgrel=0
pkgrel=1
pkgdesc="WebRTC audio/video call and conferencing server"
url="http://spreed.me"
arch="all"
license="AGPL-3.0"
depends=
depends_dev=
makedepends="$depends_dev autoconf automake go go-context go-acceptlanguageparser
makedepends="autoconf automake go go-context go-acceptlanguageparser
go-conf go-httputils go-mux go-nats go-nuid go-pkac go-phoenix
go-securecookie go-sloth go-spreed-turnservicecli go-uuid go-websocket
nodejs"
@ -42,6 +40,11 @@ build() {
make GOPATH="$GOPATH $builddir:$builddir/go:$builddir/src" binaryall
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install