From 233ddb571665583d3f01c74716dfe40c8ea93d5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 23 Jan 2021 14:38:41 +0700 Subject: [PATCH] subfinder: build with go.mod Otherwise, ftbfs. --- srcpkgs/subfinder/template | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/srcpkgs/subfinder/template b/srcpkgs/subfinder/template index 16d3b947c1..029dcdd93b 100644 --- a/srcpkgs/subfinder/template +++ b/srcpkgs/subfinder/template @@ -1,11 +1,11 @@ # Template file for 'subfinder' pkgname=subfinder version=2.4.5 -revision=1 +revision=2 build_style=go -go_import_path="github.com/projectdiscovery/subfinder" -go_package="${go_import_path}/v2/cmd/subfinder" -hostmakedepends="git" +build_wrksrc=v2 +go_import_path="github.com/projectdiscovery/subfinder/v2" +go_package="./cmd/subfinder" short_desc="Passive subdomain discovery tool" maintainer="w. fnintr " license="MIT" @@ -14,5 +14,5 @@ distfiles="${homepage}/archive/v${version}.tar.gz" checksum=1adbd9c180f7ca6378796748491e23a808e423268bc61fe63af0206877f0ba68 post_install() { - vlicense LICENSE.md + vlicense ../LICENSE.md }