# Template file for 'himalaya' pkgname=himalaya version=1.1.0 revision=1 build_style=cargo build_helper="qemu" configure_args="--features=oauth2" hostmakedepends="pkg-config libgit2-1.8-devel" makedepends="libgit2-1.8-devel" checkdepends="gpgme-devel libnotmuch-devel" short_desc="CLI email client" maintainer="Gadzhi Kharkharov " license="MIT" homepage="https://github.com/pimalaya/himalaya" changelog="https://raw.githubusercontent.com/pimalaya/himalaya/master/CHANGELOG.md" distfiles="https://github.com/pimalaya/himalaya/archive/refs/tags/v${version}.tar.gz" checksum=bc5ee10ebdb23ea205215650070373dc591f083a96b1d6d038aa23a105256f94 post_install() { vlicense LICENSE vdoc README.md local himalaya="${DESTDIR}/usr/bin/himalaya" vtargetrun ${himalaya} man . for page in himalaya*.1; do vman ${page} done for shell in bash fish zsh; do vtargetrun ${himalaya} completion ${shell} > himalaya.${shell} vcompletion himalaya.${shell} ${shell} done vsconf config.sample.toml config.toml vinstall assets/himalaya.desktop 644 usr/share/applications }