From 81fd86d53be80ba01bf956d2e58e3f6951eb4902 Mon Sep 17 00:00:00 2001 From: Lukas Bloznelis Date: Mon, 9 Oct 2023 17:22:21 +0300 Subject: [PATCH] chore: update AUR pkbuild templates --- .github/aur/.SRCINFO.template | 2 +- .github/aur/PKGBUILD.template | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/aur/.SRCINFO.template b/.github/aur/.SRCINFO.template index 7fa08e6..dac6dcc 100644 --- a/.github/aur/.SRCINFO.template +++ b/.github/aur/.SRCINFO.template @@ -10,7 +10,7 @@ pkgbase = typioca-git makedepends = go provides = typioca conflicts = typioca - source = git+https://github.com/bloznelis/typioca + source = git+https://github.com/bloznelis/typioca#tag=${PKGVER} sha256sums = SKIP pkgname = typioca-git diff --git a/.github/aur/PKGBUILD.template b/.github/aur/PKGBUILD.template index fda5e53..cb8d341 100644 --- a/.github/aur/PKGBUILD.template +++ b/.github/aur/PKGBUILD.template @@ -9,17 +9,12 @@ url="https://github.com/bloznelis/typioca" license=(MIT) groups=() depends=() -makedepends=(git make go) +makedepends=(go) provides=("$name") conflicts=("$name") -source=("git+$url") +source=("git+$url#tag=$pkgver") sha256sums=('SKIP') -pkgver() { - cd "$srcdir/$name" - printf "%s" "$(git describe --abbrev=0 --tags)" -} - build() { cd "$srcdir/$name" make VERSION=$pkgver build