void-packages/srcpkgs/tmplgen/template

25 lines
759 B
Bash

# Template file for 'tmplgen'
pkgname=tmplgen
version=1.3.1
revision=6
build_style=cargo
hostmakedepends="pkg-config"
makedepends="openssl-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://github.com/Cogitri/tmplgen/archive/refs/tags/v${version}.tar.gz"
checksum=8c8aa5b65045614529626978852416a965d57c77dd5953be58bc84f8d8b27f9b
# cba for now, tests weren't shipped in the previous tarballs
make_check=no
post_patch() {
cargo update --package openssl-sys:0.9.40 --precise 0.9.91
cargo update --package openssl:0.10.16 --precise 0.10.56
}
post_install() {
vman man/tmplgen.1
}