void-packages/srcpkgs/xurls/template
maxice8 374a9f29b8
xurls: add do_check(), fix license and homepage.
Closes #14371.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-18 09:38:25 +02:00

21 lines
515 B
Bash

# Template file for 'xurls'
pkgname=xurls
version=1.1.0
revision=5
build_style=go
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-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
}