summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmir Zarrinkafsh2021-11-18 11:43:26 +1100
committerAmir Zarrinkafsh2021-11-18 11:43:26 +1100
commita932c823f4d6e86bee11a884dd277b900b7195f5 (patch)
tree75af64635a0e7a9aed713aae34d6726a9ee2ebc0
parentd4b4d8c9b00ec73e87f5c90e3d6b5000f432b6b1 (diff)
downloadaur-a932c823f4d6e86bee11a884dd277b900b7195f5.tar.gz
Fix missing commit in build-info command
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 16ab114e160f..56dc8944d0a9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = authelia
pkgdesc = The Cloud ready multi-factor authentication portal for your Apps.
pkgver = 4.32.2
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/authelia/authelia
arch = x86_64
arch = aarch64
diff --git a/PKGBUILD b/PKGBUILD
index acf3924dca43..5d7141f24f90 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Amir Zarrinkafsh <nightah at me dot com>
pkgname=authelia
pkgver=4.32.2
-pkgrel=2
+pkgrel=3
pkgdesc="The Cloud ready multi-factor authentication portal for your Apps."
arch=('x86_64' 'aarch64' 'armv7h')
url="https://github.com/authelia/authelia"
@@ -25,7 +25,7 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/a
sha256sums=('f7530ff842f16ef79ef351d450c7f2c13fbce9769a23b945b3c4fbc628c87741')
build() {
-pkgver=4.32.2
+ export GOPATH="$srcdir/gopath" PATH="$PATH:$srcdir/gopath/bin" _pkgver="v${pkgver}"
cd "$srcdir/$pkgname-$pkgver/web"
COMMIT=$(curl -s https://api.github.com/repos/authelia/authelia/tags | jq -r '.[] | select(.name==env._pkgver) | .commit.sha')