void-packages/srcpkgs/xurls/template

22 lines
499 B
Bash

# Template file for 'xurls'
pkgname=xurls
version=2.2.0
revision=2
build_style=go
go_import_path="mvdan.cc/xurls/v2"
go_package="${go_import_path}/cmd/xurls"
short_desc="Extract urls from text"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.github.com/mvdan/xurls"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=795d7febcf73503bca2ac9806f12ff6b33b47c13eef2d50b81b10e241d9bdb22
do_check() {
go test -v
}
post_install() {
vlicense LICENSE
}