void-packages/srcpkgs/lf/template

22 lines
604 B
Bash

# Template file for 'lf'
pkgname=lf
version=r9
revision=1
build_style=go
go_import_path="github.com/gokcehan/${pkgname}"
go_ldflags="-X main.gVersion=$version"
hostmakedepends="git"
short_desc="Terminal file manager"
maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
license="MIT"
homepage="https://github.com/gokcehan/lf"
distfiles="https://github.com/gokcehan/lf/archive/${version}.tar.gz"
checksum=bb7a951b15e8400a0f4a6ad6ef84582517b40c8568b2044e333963fd34ca74c7
post_install() {
vlicense LICENSE
vsconf etc/lfrc.example lfrc
vman lf.1
vinstall etc/lf.fish 0644 usr/share/fish/completions
}