vp-build/srcpkgs/direnv/template

20 lines
579 B
Bash

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