diff --git a/srcpkgs/iamb/template b/srcpkgs/iamb/template new file mode 100644 index 00000000000000..4845f25439c8f5 --- /dev/null +++ b/srcpkgs/iamb/template @@ -0,0 +1,28 @@ +# Template file for 'iamb' +pkgname=iamb +version=0.0.10 +revision=1 +build_style=cargo +configure_args="--no-default-features --features=native-tls,desktop" +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/" +changelog="https://github.com/ulyssa/iamb/releases" +distfiles="https://github.com/ulyssa/iamb/archive/refs/tags/v${version}.tar.gz" +checksum=f628cfbd9eba9e8881902b970e9432fec815044ec9bea901a8562ea3ef8f4615 + +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 +}