void-packages/srcpkgs/mpqtool/template

21 lines
588 B
Bash

# Template file for 'mpqtool'
pkgname=mpqtool
version=0.1.4
revision=1
build_style=cargo
short_desc="CLI utility for reading and writing Blizzard's MPQ archive files"
maintainer="Anachron <gith@cron.world>"
license="MIT"
homepage="https://github.com/ceres-wc3/ceres-mpqtool"
distfiles="https://github.com/ceres-wc3/ceres-mpqtool/archive/v${version}.tar.gz"
checksum=80be5a5f4273f4ca943689f37243a734ca9d564a37d0a259f4a9d4bdb6139857
pre_build() {
# fixes an indexmap error when cross compiling
cargo update --package autocfg:0.1.7 --precise 0.1.8
}
post_install() {
vlicense LICENSE
}