void-packages/srcpkgs/xurls/template
Jan Christian Grünhage 088703d8da orphan dleeram's packages
2019-11-30 11:21:55 +01:00

22 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
}