From 8faf70236f7717cde3b1e70d359b8586a65f34a5 Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Tue, 12 Sep 2023 20:02:26 +0200 Subject: [PATCH] New package: mmv-rs-1.2.0 --- srcpkgs/mmv-rs/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/mmv-rs/template diff --git a/srcpkgs/mmv-rs/template b/srcpkgs/mmv-rs/template new file mode 100644 index 0000000000000..e3705f304c8b2 --- /dev/null +++ b/srcpkgs/mmv-rs/template @@ -0,0 +1,19 @@ +# Template file for 'mmv-rs' +pkgname=mmv-rs +version=1.2.0 +revision=1 +build_style=cargo +short_desc="Minimal cli utility for safe mass moving/renaming of files" +maintainer="Luca Matei Pintilie " +license="0BSD" +homepage="https://sr.ht/~mango/mmv" +distfiles="https://git.sr.ht/~mango/mmv/archive/v${version}.tar.gz" +checksum=c4121eb27768067479013102630fb5bb57790f57a86b8c51a0ffb1010fc25a10 + +post_install() { + mv ${DESTDIR}/usr/bin/mmv ${DESTDIR}/usr/bin/mmv-rs + cp ${DESTDIR}/usr/bin/mmv-rs ${DESTDIR}/usr/bin/mcp + vman mmv.1 mcp.1 + vman mmv.1 mmv-rs.1 + vlicense LICENSE +}