From 531cb5723a4a39c43cd24e0557652224a4ea4c80 Mon Sep 17 00:00:00 2001 From: icp Date: Sun, 4 Jun 2023 13:46:04 +0530 Subject: [PATCH] himalaya: update to 0.8.0. --- srcpkgs/himalaya/template | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/srcpkgs/himalaya/template b/srcpkgs/himalaya/template index 4bafe8d2f2c5e6..a115d4e5562cd1 100644 --- a/srcpkgs/himalaya/template +++ b/srcpkgs/himalaya/template @@ -1,19 +1,34 @@ # Template file for 'himalaya' pkgname=himalaya -version=0.7.3 +version=0.8.0 revision=1 build_style=cargo +build_helper="qemu" hostmakedepends="pkg-config" -makedepends="sqlite-devel" +makedepends="sqlite-devel libzstd-devel" short_desc="CLI email client" maintainer="Gadzhi Kharkharov " license="MIT" homepage="https://pimalaya.org/himalaya/" changelog="https://raw.githubusercontent.com/soywod/himalaya/master/CHANGELOG.md" distfiles="https://github.com/soywod/himalaya/archive/refs/tags/v${version}.tar.gz" -checksum=5bfadca9d6141834c3a97d53a43bdd317e59ee4f893bcc00e6fcbf9fc0f5b55a +checksum=c9bf62c802b05d3c98e105513042eafbbcbed4c5ed61aec7addae185accc5b40 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 }