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 +