void-packages/srcpkgs/direnv/template

19 lines
500 B
Bash

# Template file for 'direnv'
pkgname=direnv
version=2.12.1
revision=1
build_style=go
go_import_path="github.com/direnv/direnv"
short_desc="An environment switcher for the shell"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="MIT"
homepage="http://direnv.net/"
distfiles="https://github.com/direnv/direnv/archive/v${version}.tar.gz"
checksum=7ca0649add19e4ed6b5b0b0f88c9222916e700f413e535e54b8f6431a2b34797
post_install() {
vlicense LICENSE.md
vman man/direnv-stdlib.1
vman man/direnv.1
}