summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Ser2021-11-10 08:19:25 +0100
committerSimon Ser2021-11-10 08:19:25 +0100
commita7600c275d8a112d5dc37ca1dd861fd2c1151e4c (patch)
treee9a88cc1f961bb7444ab782900490b4ab5294ac5
parentd08a6e9a04cad83a226834856a6c8bf00c1e80bf (diff)
downloadaur-a7600c275d8a112d5dc37ca1dd861fd2c1151e4c.tar.gz
Use upstream version numbering
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 60e241c9639..c7d6bb54bc3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Cookie Engineer <@cookiengineer>
pkgname=hydroxide-git
-pkgver=r245.4c7fd88d57cd
-pkgrel=2
+pkgver=v0.2.20.r0.4c7fd88d57cd
+pkgrel=1
pkgdesc="A third-party, open-source ProtonMail CardDAV, IMAP and SMTP bridge"
arch=('x86_64')
makedepends=('git' 'go')
@@ -14,7 +14,7 @@ md5sums=('SKIP')
pkgver() {
cd "$srcdir/hydroxide"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
build() {