From a962f9b445370d7dc74b6b8524ed078026fc82a8 Mon Sep 17 00:00:00 2001 From: bgme Date: Tue, 16 May 2023 13:28:04 +0800 Subject: [PATCH] fix sing-geoip sing-geosite --- repo/sing-geoip/PKGBUILD | 2 +- repo/sing-geoip/lilac.yaml | 3 +-- repo/sing-geosite/PKGBUILD | 2 +- repo/sing-geosite/lilac.yaml | 3 +-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/repo/sing-geoip/PKGBUILD b/repo/sing-geoip/PKGBUILD index 7770a73..f72a87c 100644 --- a/repo/sing-geoip/PKGBUILD +++ b/repo/sing-geoip/PKGBUILD @@ -7,7 +7,7 @@ pkgdesc='sing-geoip database' arch=('any') url="https://github.com/SagerNet/sing-geoip" license=('custom:sing-geoip') -makedepends=('git' 'go1.19') +makedepends=('git' 'go1.19' 'jq') source=("git+https://github.com/SagerNet/sing-geoip.git") sha256sums=('SKIP') diff --git a/repo/sing-geoip/lilac.yaml b/repo/sing-geoip/lilac.yaml index 91883dc..e459e56 100644 --- a/repo/sing-geoip/lilac.yaml +++ b/repo/sing-geoip/lilac.yaml @@ -14,5 +14,4 @@ post_build: git_pkgbuild_commit update_on: - source: github github: SagerNet/sing-geoip - - source: cmd - cmd: curl https://api.github.com/repos/Dreamacro/maxmind-geoip/releases/latest | jq -r ".name" + - source: vcs diff --git a/repo/sing-geosite/PKGBUILD b/repo/sing-geosite/PKGBUILD index 2a9112a..2b8ff8c 100644 --- a/repo/sing-geosite/PKGBUILD +++ b/repo/sing-geosite/PKGBUILD @@ -7,7 +7,7 @@ pkgdesc='sing-geosite database' arch=('any') url="https://github.com/SagerNet/sing-geosite" license=('custom:sing-geosite') -makedepends=('git' 'go') +makedepends=('git' 'go' 'jq') source=("git+https://github.com/SagerNet/sing-geosite.git") sha256sums=('SKIP') diff --git a/repo/sing-geosite/lilac.yaml b/repo/sing-geosite/lilac.yaml index 932fbef..6ad045c 100644 --- a/repo/sing-geosite/lilac.yaml +++ b/repo/sing-geosite/lilac.yaml @@ -11,5 +11,4 @@ post_build: git_pkgbuild_commit update_on: - source: github github: SagerNet/sing-geosite - - source: cmd - cmd: curl https://api.github.com/repos/v2fly/domain-list-community/releases/latest | jq -r ".name" + - source: vcs