23 lines
657 B
Bash
23 lines
657 B
Bash
# Template file for 'lf'
|
|
pkgname=lf
|
|
version=r17
|
|
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=a6906f6c40de8cbd643d0dc6a7a25b83a6403f0e87a8352289189bea17123342
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vsconf etc/lfrc.example lfrc
|
|
vman lf.1
|
|
vcompletion etc/lf.fish fish
|
|
vcompletion etc/lf.zsh zsh
|
|
vinstall lf.desktop 644 usr/share/applications
|
|
}
|