# Template file for 'sdunpack'
pkgname=sdunpack
version=0.3.0
revision=1
build_style=cargo
short_desc="Unpack a StarDict dictionary as plain text"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="MIT"
homepage="https://github.com/baskerville/sdunpack"
distfiles="https://github.com/baskerville/sdunpack/archive/refs/tags/${version}.tar.gz"
checksum=8398414775b2192e42d97b44b261b13a7500f9aa38ed99e26e150a3aa330ad89

post_patch() {
	# Upstream does not ship a lockfile yet
	cargo generate-lockfile
}

post_install() {
	vlicense LICENSE
}
