void-packages/srcpkgs/elvish/template

22 lines
595 B
Bash

# Template file for 'elvish'
pkgname=elvish
version=0.16.3
revision=1
build_style=go
go_import_path="src.elv.sh/cmd/elvish"
short_desc="Novel Unix shell"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="BSD-2-Clause"
homepage="https://elv.sh/"
changelog="https://elv.sh/blog/${version}-release-notes.html"
distfiles="https://github.com/elves/elvish/archive/v${version}.tar.gz"
checksum=ea9d594070cff58ed9caedf4619ee195bfce179f79b9a8d5e7a635ce5cbba551
register_shell="/bin/elvish"
# fix: collect2: fatal error: cannot find 'ld'
LDFLAGS="-fuse-ld=bfd"
post_install() {
vlicense LICENSE
}