Package Details: hydroxide-git v0.2.20.r0.4c7fd88d57cd-1

Git Clone URL: https://aur.archlinux.org/hydroxide-git.git (read-only, click to copy)
Package Base: hydroxide-git
Description: A third-party, open-source ProtonMail CardDAV, IMAP and SMTP bridge
Upstream URL: https://github.com/emersion/hydroxide
Licenses: MIT
Conflicts: hydroxide
Submitter: None
Maintainer: emersion
Last Packager: emersion
Votes: 6
Popularity: 0.000000
First Submitted: 2018-10-06 16:19 (UTC)
Last Updated: 2021-11-10 07:28 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

mrvik commented on 2020-11-24 09:47 (UTC)

This package should conflict hydroxide

aurelieng commented on 2020-09-24 17:18 (UTC)

Thanks for packaging hydroxide-git!

I noticed that the package is flagged out of date although the source is built from git. I'm no expert, and wonder if there's something wrong with pkgver, and more precisely how the version number it's built from the release?

AFAIK, the following would help:

diff --git a/PKGBUILD b/PKGBUILD
index 1d0391a..1dcccc4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
 # Maintainer: Cookie Engineer <@cookiengineer>

-pkgname=hydroxide-git
-pkgver=r143.ba96d88
+_pkgname=hydroxide
+pkgname=${_pkgname}-git
+pkgver=v0.2.15
 pkgrel=1
 pkgdesc="A third-party, open-source ProtonMail CardDAV, IMAP and SMTP bridge"
 arch=('x86_64')
@@ -11,9 +12,11 @@ license=('MIT')
 source=('git+https://github.com/emersion/hydroxide')
 md5sums=('SKIP')

+
 pkgver() {
-   cd "$srcdir/hydroxide"
-   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+    cd "$srcdir/$_pkgname"
+    printf "%s" "$(git describe --long --tags \
+      | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
 }

 build() {

With this trick, pkgver is updated at runtime locally, and the AUR package can have its own numbering scheme.

Again, no expert, just trying to help?

<deleted-account> commented on 2019-11-01 17:30 (UTC)

Warning: Currently upstream problems with protonmail API changes -> https://github.com/emersion/hydroxide/issues/70