void-packages/srcpkgs/xurls/template
2021-02-19 22:20:17 -03:00

22 lines
521 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"
hostmakedepends="git"
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
}