From f8768be077ec57247775bd6b365a33d1cb7a3362 Mon Sep 17 00:00:00 2001 From: Komeil Parseh Date: Mon, 28 Jul 2025 16:06:49 +0330 Subject: [PATCH] New package: irust-1.74.0 --- srcpkgs/irust/files/README.voidlinux | 5 +++++ srcpkgs/irust/template | 26 ++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 srcpkgs/irust/files/README.voidlinux create mode 100644 srcpkgs/irust/template diff --git a/srcpkgs/irust/files/README.voidlinux b/srcpkgs/irust/files/README.voidlinux new file mode 100644 index 00000000000..55c37fcaeee --- /dev/null +++ b/srcpkgs/irust/files/README.voidlinux @@ -0,0 +1,5 @@ +irust requires Rust and Cargo at runtime. +Please install one of the following before running irust: + - cargo + - rustup +Choose whichever suits your workflow. diff --git a/srcpkgs/irust/template b/srcpkgs/irust/template new file mode 100644 index 00000000000..1cf37e8c639 --- /dev/null +++ b/srcpkgs/irust/template @@ -0,0 +1,26 @@ +# Template file for 'irust' +pkgname=irust +version=1.74.0 +revision=1 +build_style=cargo +make_install_args="--path crates/irust" +short_desc="Cross Platform Rust Repl" +maintainer="Komeil Parseh " +license="MIT" +homepage="https://github.com/sigmaSd/IRust" +changelog="https://raw.githubusercontent.com/sigmaSd/IRust/refs/heads/master/CHANGELOG.md" +distfiles="https://github.com/sigmaSd/IRust/archive/refs/tags/irust@${version}.tar.gz" +checksum=0347812ec85111109875a3b414f42d68778e9fab6aa826430837f9089de1a91b + +post_install() { + vmkdir usr/share/icons/hicolor/scalable/apps + vinstall distro/io.github.sigmasd.IRust.svg 644\ + "usr/share/icons/hicolor/scalable/apps" + vinstall distro/io.github.sigmasd.IRust.desktop 644\ + "usr/share/applications" + vinstall distro/io.github.sigmasd.IRust.metainfo.xml 644\ + "usr/share/metainfo" + + vdoc "${FILESDIR}/README.voidlinux" + vlicense LICENSE +}