From 7bf48abab1edab26d984b09def0a0010e9f57d6f Mon Sep 17 00:00:00 2001 From: Daniel Lewan Date: Sun, 20 May 2018 21:28:25 +0200 Subject: [PATCH] lf: update to r5. lf: add update check Closes #24. Signed-off-by: Enno Boland --- srcpkgs/lf/template | 10 +++++----- srcpkgs/lf/update | 2 ++ 2 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 srcpkgs/lf/update diff --git a/srcpkgs/lf/template b/srcpkgs/lf/template index 8520051e98c..e04016f09b4 100644 --- a/srcpkgs/lf/template +++ b/srcpkgs/lf/template @@ -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 " 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 diff --git a/srcpkgs/lf/update b/srcpkgs/lf/update new file mode 100644 index 00000000000..48ff1d9d851 --- /dev/null +++ b/srcpkgs/lf/update @@ -0,0 +1,2 @@ +site='https://github.com/gokcehan/lf/releases' +pattern='archive/\Kr\d+(?=\.tar\.gz)'