void-packages/srcpkgs/direnv/template

22 lines
632 B
Bash

# Template file for 'direnv'
pkgname=direnv
version=2.34.0
revision=1
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=3d7067e71500e95d69eac86a271a6b6fc3f2f2817ba0e9a589524bf3e73e007c
post_install() {
vlicense LICENSE
vman man/direnv-fetchurl.1
vman man/direnv-stdlib.1
vman man/direnv.toml.1
vman man/direnv.1
}