mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 14:17:02 +02:00
New package: mmv-rs-1.4.0
This commit is contained in:
parent
a7a87f3874
commit
6d98811d86
1 changed files with 24 additions and 0 deletions
24
srcpkgs/mmv-rs/template
Normal file
24
srcpkgs/mmv-rs/template
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Template file for 'mmv-rs'
|
||||
pkgname=mmv-rs
|
||||
version=1.4.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=c0405651dd09062b2c93c5791f05f8fe8bc2b017696829fbffaaf36d702bff74
|
||||
|
||||
# Used at buildtime to set default name
|
||||
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; s|prj/mmv-rs|prj/mmv|;'
|
||||
vman mmv.1 mmv-rs.1
|
||||
ln -s mmv-rs.1 $DESTDIR/usr/share/man/man1/mcp-rs.1
|
||||
}
|
Loading…
Add table
Reference in a new issue