void-packages/srcpkgs/direnv/template

22 lines
638 B
Bash

# Template file for 'direnv'
pkgname=direnv
version=2.32.2
revision=1
build_style=go
go_import_path=github.com/direnv/direnv/v2
short_desc="Environment switcher for the shell"
maintainer="Sora Morimoto <sora@morimoto.io>"
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=352b3a65e8945d13caba92e13e5666e1854d41749aca2e230938ac6c64fa8ef9
post_install() {
vlicense LICENSE
vman man/direnv-fetchurl.1
vman man/direnv-stdlib.1
vman man/direnv.toml.1
vman man/direnv.1
}