From 5b298fb3e732b277140a9a3fc791172d69ef3509 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Mon, 1 Apr 2024 16:58:43 +0200 Subject: [PATCH] New package: iamb-0.0.9 --- srcpkgs/iamb/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/iamb/template diff --git a/srcpkgs/iamb/template b/srcpkgs/iamb/template new file mode 100644 index 00000000000000..58f824850865d2 --- /dev/null +++ b/srcpkgs/iamb/template @@ -0,0 +1,27 @@ +# Template file for 'iamb' +pkgname=iamb +version=0.0.9 +revision=1 +build_style=cargo +configure_args="--no-default-features --features=native-tls" +hostmakedepends="pkg-config" +makedepends="oniguruma-devel sqlite-devel openssl-devel" +short_desc="Matrix client for Vim addicts" +maintainer="Bnyro " +license="Apache-2.0" +homepage="https://iamb.chat/" +distfiles="https://github.com/ulyssa/iamb/archive/refs/tags/v${version}.tar.gz" +checksum=7ef6d23a957bfab62decd48caa83c106a49d95760b4b2ccf5a6b6a8f4506e687 + +post_install() { + vinstall iamb.desktop 644 usr/share/applications + vinstall docs/iamb-256x256.png 644 usr/share/icons/hicolor/256x256/apps/iamb.png + vinstall docs/iamb-512x512.png 644 usr/share/icons/hicolor/512x512/apps/iamb.png + vinstall docs/iamb.svg 644 usr/share/icons/hicolor/scalable/apps/iamb.svg + + vsed -i docs/iamb.5 -e 's#/usr/share/iamb/config.example.toml#/usr/share/examples/iamb/config.example.toml#' + vman docs/iamb.1 + vman docs/iamb.5 + + vsconf config.example.toml +}