From 374a9f29b859ef201ebe7811813a6e0b4069ffb7 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sun, 13 May 2018 22:27:43 -0300 Subject: [PATCH] xurls: add do_check(), fix license and homepage. Closes #14371. Signed-off-by: Enno Boland --- srcpkgs/xurls/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/xurls/template b/srcpkgs/xurls/template index 23362c89337..5046fdd91dd 100644 --- a/srcpkgs/xurls/template +++ b/srcpkgs/xurls/template @@ -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 " -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 }