From 79e306665244e2ae01e3f293111d6920a1ea07d7 Mon Sep 17 00:00:00 2001 From: bgme Date: Mon, 21 Aug 2023 00:22:04 +0800 Subject: [PATCH] fix nebula-bgme nvcheck --- repo/nebula-bgme/PKGBUILD | 6 +++++- repo/nebula-bgme/lilac.yaml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/repo/nebula-bgme/PKGBUILD b/repo/nebula-bgme/PKGBUILD index 11073f3..0338e39 100644 --- a/repo/nebula-bgme/PKGBUILD +++ b/repo/nebula-bgme/PKGBUILD @@ -13,7 +13,11 @@ options=('!lto') conflicts=('nebula') provides=('nebula') source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") -sha256sums=('c4771ce6eb3e142f88f5f4c12443cfca140bf96b2746c74f9536bd1a362f3f88') +sha256sums=('SKIP') + +pkgver() { + curl -s https://api.github.com/repos/slackhq/nebula/releases/latest | jq -r ".tag_name" | sed 's/v//g' +} build() { cd "${_pkgname}-${pkgver}" diff --git a/repo/nebula-bgme/lilac.yaml b/repo/nebula-bgme/lilac.yaml index d9972be..72220af 100644 --- a/repo/nebula-bgme/lilac.yaml +++ b/repo/nebula-bgme/lilac.yaml @@ -8,4 +8,8 @@ pre_build: vcs_update post_build: git_pkgbuild_commit -update_on: [] +update_on: + - source: github + github: slackhq/nebula + use_latest_release: true +