void-packages/srcpkgs/xurls/template

23 lines
537 B
Bash

# Template file for 'xurls'
pkgname=xurls
version=2.1.0
revision=1
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="dleeram <dleeram@protonmail.com>"
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
}