xurls: add do_check(), fix license and homepage.
Closes #14371. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
parent
488d633494
commit
374a9f29b8
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue