void-packages/srcpkgs/direnv/template

22 lines
628 B
Bash

# Template file for 'direnv'
pkgname=direnv
version=2.32.0
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/v${version}.tar.gz"
checksum=d9bd6a78b57257306b45a64473d3302b0f274a3d2499e870d29f7a22a730f11c
post_install() {
vlicense LICENSE
vman man/direnv-fetchurl.1
vman man/direnv-stdlib.1
vman man/direnv.toml.1
vman man/direnv.1
}