# Maintainer: Dekedro pkgname=hydroxide pkgver=0.2.27 pkgrel=2 pkgdesc="Third-party, open-source ProtonMail CardDAV, IMAP and SMTP bridge" url="https://github.com/emersion/hydroxide" license="MIT" arch="all !riscv64" # failure to build github.com/boltdb/bolt makedepends="go" options="net !check" # no tests source="https://github.com/emersion/hydroxide/releases/download/v$pkgver/hydroxide-$pkgver.tar.gz" export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" build() { go build ./cmd/hydroxide } package() { install -Dm755 "$builddir"/hydroxide "$pkgdir"/usr/bin/hydroxide } sha512sums=" 960bf1a37c2365774db6e4598081bfc5459be7f2a85866caf0faef5826694c1b3d0b0cd5634987c963bf21ed416238840e3de207f5b3e39f0cb2c0eed817c3e9 hydroxide-0.2.27.tar.gz "