void-packages/srcpkgs/lf/template
2020-04-15 10:10:58 +00:00

23 lines
719 B
Bash

# Template file for 'lf'
pkgname=lf
version=r14
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=5266afa808f4612733af65289024c9eb182864f6a224fdfdf58f405a30c79644
post_install() {
vlicense LICENSE
vsconf etc/lfrc.example lfrc
vman lf.1
vinstall etc/lf.fish 644 usr/share/fish/vendor_completions.d
vinstall etc/lf.zsh 644 usr/share/zsh/site-functions _lf
vinstall lf.desktop 644 usr/share/applications
}