void-packages/srcpkgs/direnv/template

22 lines
625 B
Bash

# Template file for 'direnv'
pkgname=direnv
version=2.27.0
revision=1
build_style=go
go_import_path=github.com/direnv/direnv
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/v${version}.tar.gz"
checksum=9dc5ce43c63d9d9ff510c6bcd6ae06f3f2f907347e7cbb2bb6513bfb0f151621
post_install() {
vlicense LICENSE
vman man/direnv-fetchurl.1
vman man/direnv-stdlib.1
vman man/direnv.toml.1
vman man/direnv.1
}