void-packages/srcpkgs/direnv/template

20 lines
576 B
Bash

# Template file for 'direnv'
pkgname=direnv
version=2.20.1
revision=1
build_style=go
go_import_path=github.com/direnv/direnv
short_desc="Environment switcher for the shell"
maintainer="Diogo Leal <diogo@diogoleal.com>"
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=dd54393661602bb989ee880f14c41f7a7b47a153777999509127459edae52e47
post_install() {
vlicense LICENSE.md
vman man/direnv-stdlib.1
vman man/direnv.1
}