void-packages/srcpkgs/elvish/template

23 lines
609 B
Bash

# Template file for 'elvish'
pkgname=elvish
version=0.20.1
revision=1
build_style=go
go_import_path="src.elv.sh"
go_package="./cmd/elvish"
short_desc="Novel Unix shell"
maintainer="Orphaned <orphan@voidlinux.org>"
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=6a6006015f44def98676eaed611702b000d66838c0e76da572d517d9bde5c388
register_shell="/bin/elvish"
# fix: collect2: fatal error: cannot find 'ld'
LDFLAGS="-fuse-ld=bfd"
post_install() {
vlicense LICENSE
}