23 lines
536 B
Bash
23 lines
536 B
Bash
# Template file for 'xurls'
|
|
pkgname=xurls
|
|
version=2.2.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="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://www.github.com/mvdan/xurls"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
|
checksum=795d7febcf73503bca2ac9806f12ff6b33b47c13eef2d50b81b10e241d9bdb22
|
|
|
|
do_check() {
|
|
go test -v
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|