void-packages/srcpkgs/xurls/template

23 lines
571 B
Bash

# Template file for 'xurls'
pkgname=xurls
version=2.5.0
revision=3
build_style=go
go_import_path="mvdan.cc/xurls/v2"
go_package="${go_import_path}/cmd/xurls"
short_desc="Extract urls from text"
maintainer="icp <pangolin@vivaldi.net>"
license="BSD-3-Clause"
homepage="https://github.com/mvdan/xurls"
changelog="https://github.com/mvdan/xurls/releases"
distfiles="https://github.com/mvdan/xurls/archive/refs/tags/v${version}.tar.gz"
checksum=552779a765de29e51ff01fe6c85a7d0389faae1b80d354332e7c69db232ee4ad
do_check() {
go test -v
}
post_install() {
vlicense LICENSE
}