subfinder: build with go.mod

Otherwise, ftbfs.
This commit is contained in:
Đoàn Trần Công Danh 2021-01-23 14:38:41 +07:00
parent 24ce263ea4
commit 233ddb5716

View file

@ -1,11 +1,11 @@
# Template file for 'subfinder' # Template file for 'subfinder'
pkgname=subfinder pkgname=subfinder
version=2.4.5 version=2.4.5
revision=1 revision=2
build_style=go build_style=go
go_import_path="github.com/projectdiscovery/subfinder" build_wrksrc=v2
go_package="${go_import_path}/v2/cmd/subfinder" go_import_path="github.com/projectdiscovery/subfinder/v2"
hostmakedepends="git" go_package="./cmd/subfinder"
short_desc="Passive subdomain discovery tool" short_desc="Passive subdomain discovery tool"
maintainer="w. fnintr <wfnintr@null.net>" maintainer="w. fnintr <wfnintr@null.net>"
license="MIT" license="MIT"
@ -14,5 +14,5 @@ distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=1adbd9c180f7ca6378796748491e23a808e423268bc61fe63af0206877f0ba68 checksum=1adbd9c180f7ca6378796748491e23a808e423268bc61fe63af0206877f0ba68
post_install() { post_install() {
vlicense LICENSE.md vlicense ../LICENSE.md
} }