void-packages/srcpkgs/himalaya/template
2022-03-19 19:33:38 +01:00

26 lines
713 B
Bash

# Template file for 'himalaya'
pkgname=himalaya
version=0.5.9
revision=1
build_style=cargo
make_check_args="--lib"
hostmakedepends="pkg-config"
makedepends="openssl-devel"
short_desc="CLI email client"
maintainer="Gadzhi Kharkharov <me@kkga.me>"
license="BSD-3-Clause"
homepage="https://github.com/soywod/himalaya"
changelog="https://raw.githubusercontent.com/soywod/himalaya/master/CHANGELOG.md"
distfiles="https://github.com/soywod/himalaya/archive/v${version}.tar.gz"
checksum=70da5d75354e47b47315938b9cbeca2ec167b8e6bd8ce133eff68ef1638d8c59
post_patch() {
# fixes an indexmap error when cross compiling
cargo update --package autocfg --precise 1.1.0
}
post_install() {
vlicense LICENSE
vdoc README.md
}