fix nebula-bgme nvcheck

This commit is contained in:
bgme 2023-08-21 00:22:04 +08:00
parent 78e6328169
commit 79e3066652
2 changed files with 10 additions and 2 deletions

View file

@ -13,7 +13,11 @@ options=('!lto')
conflicts=('nebula') conflicts=('nebula')
provides=('nebula') provides=('nebula')
source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") 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() { build() {
cd "${_pkgname}-${pkgver}" cd "${_pkgname}-${pkgver}"

View file

@ -8,4 +8,8 @@ pre_build: vcs_update
post_build: git_pkgbuild_commit post_build: git_pkgbuild_commit
update_on: [] update_on:
- source: github
github: slackhq/nebula
use_latest_release: true