24 lines
719 B
Bash
24 lines
719 B
Bash
# Template file for 'lf'
|
|
pkgname=lf
|
|
version=r16
|
|
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=92031b31c194f0af11fc0f00d575db0dc9bb2c6c80bccc73fa19de02e82d00b1
|
|
|
|
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
|
|
}
|