lf: update to r5.

lf: add update check
Closes #24.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
Daniel Lewan 2018-05-20 21:28:25 +02:00 committed by Enno Boland
parent 2e161b1822
commit 7bf48abab1
2 changed files with 7 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'lf'
pkgname=lf
version=r3
revision=2
version=r5
revision=1
build_style=go
go_import_path="github.com/gokcehan/${pkgname}"
go_ldflags="-X main.gVersion=$version"
@ -9,9 +9,9 @@ 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
homepage="https://github.com/gokcehan/lf"
distfiles="https://github.com/gokcehan/lf/archive/${version}.tar.gz"
checksum=ade6c4cc750235a51d4fd6aeeabe8fa7adfcea90504804e739d492bd01e534bb
post_install() {
vlicense LICENSE

2
srcpkgs/lf/update Normal file
View File

@ -0,0 +1,2 @@
site='https://github.com/gokcehan/lf/releases'
pattern='archive/\Kr\d+(?=\.tar\.gz)'