void-packages/srcpkgs/direnv/template

22 lines
632 B
Bash

# Template file for 'direnv'
pkgname=direnv
version=2.32.3
revision=2
build_style=go
go_import_path=github.com/direnv/direnv/v2
short_desc="Environment switcher for the shell"
maintainer="icp <pangolin@vivaldi.net>"
license="MIT"
homepage="https://direnv.net/"
changelog="https://raw.githubusercontent.com/direnv/direnv/master/CHANGELOG.md"
distfiles="https://github.com/direnv/direnv/archive/refs/tags/v${version}.tar.gz"
checksum=c66f6d1000f28f919c6106b5dcdd0a0e54fb553602c63c60bf59d9bbdf8bd33c
post_install() {
vlicense LICENSE
vman man/direnv-fetchurl.1
vman man/direnv-stdlib.1
vman man/direnv.toml.1
vman man/direnv.1
}