Skip to content

Commit

Permalink
New package: mmv-rs-1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AnInternetTroll committed Sep 14, 2023
1 parent 9448151 commit 666b089
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions srcpkgs/mmv-rs/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Template file for 'mmv-rs'
pkgname=mmv-rs
version=1.3.0
revision=1
build_style=cargo
short_desc="Minimal cli utility for safe mass moving/renaming of files"
maintainer="Luca Matei Pintilie <luca@lucamatei.com>"
license="0BSD"
homepage="https://sr.ht/~mango/mmv"
changelog="https://git.sr.ht/~mango/mmv/refs"
distfiles="https://git.sr.ht/~mango/mmv/archive/v$version.tar.gz"
checksum=e61bd9baf22d070a3a83addc0aa4efb974030f23b274360651f35de0b79bf486

export MMV_NAME="mmv-rs"
export MCP_NAME="mcp-rs"

post_install() {
mv $DESTDIR/usr/bin/mmv $DESTDIR/usr/bin/mmv-rs
ln -s mmv-rs $DESTDIR/usr/bin/mcp-rs
vsed -i mmv.1 -e 's/[^/]mmv/&-rs/g; s/[^/]mcp/&-rs/g; s/MMV/&-RS/g'
vman mmv.1 mmv-rs.1
ln -s mmv-rs.1 $DESTDIR/usr/share/man/man1/mcp-rs.1
vlicense LICENSE
}

0 comments on commit 666b089

Please sign in to comment.