void-packages/srcpkgs/lf/template

22 lines
605 B
Bash

# Template file for 'lf'
pkgname=lf
version=r12
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=8a3ca71dd18ca01f34a08573049c5f9f4302b5c7a998443d2b0855792fdca7f2
post_install() {
vlicense LICENSE
vsconf etc/lfrc.example lfrc
vman lf.1
vinstall etc/lf.fish 0644 usr/share/fish/completions
}