void-packages/srcpkgs/lf/template

20 lines
515 B
Bash

# Template file for 'lf'
pkgname=lf
version=r3
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://${go_import_path}"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=3337cebb6332d6bc9c8cecd6348e620e5f042538b1ee5500fc61c7f2df0e0a48
post_install() {
vlicense LICENSE
vsconf etc/lfrc.example lfrc
}