Misc packages for Arch Linux
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
733 B

# Maintainer: Cookie Engineer <@cookiengineer>
pkgname=hydroxide-git
pkgver=r193.7d3d0ee
pkgrel=1
pkgdesc="A third-party, open-source ProtonMail CardDAV, IMAP and SMTP bridge"
arch=('x86_64')
makedepends=('git' 'go')
url="https://github.com/emersion/hydroxide"
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)"
}
build() {
cd "$srcdir/hydroxide";
go build "./cmd/hydroxide";
}
package() {
mkdir -p "$pkgdir/usr/bin"
install -p -m755 "$srcdir/hydroxide/hydroxide" "$pkgdir/usr/bin"
install -Dm644 "$srcdir/hydroxide/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}