Package Details: hydroxide-git r143.ba96d88-1

Git Clone URL: (read-only, click to copy)
Package Base: hydroxide-git
Description: A third-party, open-source ProtonMail CardDAV, IMAP and SMTP bridge
Upstream URL:
Licenses: MIT
Submitter: cookiengineer
Maintainer: None
Last Packager: cookiengineer
Votes: 7
Popularity: 0.035481
First Submitted: 2018-10-06 16:19
Last Updated: 2019-04-15 19:12

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

mrvik commented on 2020-11-24 09:47

This package should conflict hydroxide

aurelieng commented on 2020-09-24 17:18

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
@@ -1,7 +1,8 @@
 # Maintainer: Cookie Engineer <@cookiengineer>

 pkgdesc="A third-party, open-source ProtonMail CardDAV, IMAP and SMTP bridge"
@@ -11,9 +12,11 @@ license=('MIT')

 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?

cookiengineer commented on 2019-11-01 17:30

Warning: Currently upstream problems with protonmail API changes ->