void-packages/srcpkgs/xurls/template

22 lines
515 B
Bash

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