void-packages/srcpkgs/blindfold/template

24 lines
607 B
Bash

# Template file for 'blindfold'
pkgname=blindfold
version=1.0.6
revision=4
build_style=cargo
hostmakedepends="pkg-config"
makedepends="openssl-devel"
short_desc="CLI gitignore file generator"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/Eoin-McMahon/blindfold"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=eff539920d4efa5c0fc35067c40347ceb8b01a922f443460a28e8c5e0b3237ca
post_patch() {
# Upstream does not ship a lockfile yet:
# https://github.com/Eoin-McMahon/blindfold/issues/23
cargo generate-lockfile
}
post_install() {
vlicense LICENSE
}