void-packages/srcpkgs/tmplgen/template

22 lines
611 B
Bash

# Template file for 'tmplgen'
pkgname=tmplgen
version=1.3.1
revision=2
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libressl-devel"
short_desc="Void Linux template generator for language-specific package managers"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/Cogitri/tmplgen"
distfiles="https://static.crates.io/crates/tmplgen/tmplgen-${version}.crate"
checksum=5e5dc4b3e50f4f2dc87f510bb3d1547a86ecd5a52c0f33305a0a7a3dca40bee9
pre_build() {
cargo update --package openssl-sys --precise 0.9.46
}
post_install() {
vman man/tmplgen.1
}