void-packages/srcpkgs/elvish/template

24 lines
646 B
Bash

# Template file for 'elvish'
pkgname=elvish
version=0.21.0
revision=1
build_style=go
go_import_path="src.elv.sh"
go_package="./cmd/elvish"
make_check_args="-skip TestLocation"
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=3a4b93c3c99fe2f9847de35d64be24e2d4b9c12d429cd9831b4571993a66bb7a
register_shell="/bin/elvish"
# fix: collect2: fatal error: cannot find 'ld'
LDFLAGS="-fuse-ld=bfd"
post_install() {
vlicense LICENSE
}