void-packages/srcpkgs/xurls/template

23 lines
536 B
Bash

# Template file for 'xurls'
pkgname=xurls
version=2.1.0
revision=2
build_style=go
go_import_path="github.com/mvdan/${pkgname}"
go_package="${go_import_path}/cmd/${pkgname}"
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=b6559d06ab8f59cc8ed0ac2de6018fe663587c803f981d25058e840c42ec76b0
do_check() {
go test -v
}
post_install() {
vlicense LICENSE
}