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)'