xurls: add do_check(), fix license and homepage.

Closes #14371.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
maxice8 2018-05-13 22:27:43 -03:00 committed by Enno Boland
parent 488d633494
commit 374a9f29b8
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
1 changed files with 6 additions and 2 deletions

View File

@ -7,11 +7,15 @@ go_import_path="github.com/mvdan/${pkgname}"
go_package="${go_import_path}/cmd/${pkgname}"
short_desc="Extract urls from text"
maintainer="dleeram <dleeram@protonmail.com>"
license="BSD-3"
homepage="https://${go_import_path}"
license="BSD-3-Clause"
homepage="https://www.github.com/mvdan/xurls"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=47fb038408e8b26965a0e06a4b409edb7bcb3a7373c0c930edf9891bbc58909a
do_check() {
go test -v
}
post_install() {
vlicense LICENSE
}