void-packages/srcpkgs/direnv/template

20 lines
573 B
Bash

# Template file for 'direnv'
pkgname=direnv
version=2.21.3
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=012651a79e47150de4a386d1c3c81a017d5ceac14f5a0c24b0596a2215cde8be
post_install() {
vlicense LICENSE
vman man/direnv-stdlib.1
vman man/direnv.1
}