Package Details: hydroxide-git r143.ba96d88-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
Submitter: cookiengineer
Maintainer: cookiengineer
Last Packager: cookiengineer
Votes: 6
Popularity: 0.089622
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
--- 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?

cookiengineer commented on 2019-11-01 17:30

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