void-packages/srcpkgs/direnv/template

20 lines
579 B
Bash

# Template file for 'direnv'
pkgname=direnv
version=2.17.0
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="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=1402cfbd9988cfe86d0ded47bd9732a061581f04bdb6275f156d8654e4d09a3a
post_install() {
vlicense LICENSE.md
vman man/direnv-stdlib.1
vman man/direnv.1
}