aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hydroxide/APKBUILD
blob: 3dfa59ff052d504544cea923326c82a0d9a969b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Dekedro <dekedro@tankers.xyz>
pkgname=hydroxide
pkgver=0.2.20
pkgrel=0
pkgdesc="Third-party, open-source ProtonMail CardDAV, IMAP and SMTP bridge"
url="https://github.com/emersion/hydroxide"
license="MIT"
arch="all !mips !mips64 !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"

build() {
	go build ./cmd/hydroxide
}

package() {
	install -Dm755 "$builddir"/hydroxide "$pkgdir"/usr/bin/hydroxide
}

sha512sums="
2206acf996a6462ac30eb0c9186d9f85bcdf48e732e15f489188bd400972ce9a53da85a55b88c33af644f8b11ecfb1b6ca61b28cf865b1608c84912dcd0bf9d3  hydroxide-0.2.20.tar.gz
"