From 7807597a18480cdb1f0630c03f68e496611e5dc0 Mon Sep 17 00:00:00 2001 From: icp Date: Fri, 3 Feb 2023 15:39:47 +0530 Subject: [PATCH] cronutils: update to 1.10. Fix update reporting. --- srcpkgs/cronutils/template | 8 ++++---- srcpkgs/cronutils/update | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/srcpkgs/cronutils/template b/srcpkgs/cronutils/template index 03728d0f93d7..fa74a0367c12 100644 --- a/srcpkgs/cronutils/template +++ b/srcpkgs/cronutils/template @@ -1,14 +1,14 @@ # Template file for 'cronutils' pkgname=cronutils -version=1.9 -revision=3 +version=1.10 +revision=1 build_style=gnu-makefile short_desc="Set of tools to assist the reliable running periodic and batch jobs" maintainer="Orphaned " license="Apache-2.0" homepage="https://github.com/google/cronutils" -distfiles="https://github.com/google/${pkgname}/archive/version/${version}.tar.gz" -checksum=0109f165b193d3482ebf470e5d19fcef13bb692b173f65c966b0b8b8ebc79238 +distfiles="https://github.com/google/cronutils/archive/refs/tags/version/${version}.tar.gz" +checksum=56638170e5a41c71e9992bc0c01b69333dd4af72ea9f8f79d8b863f771b93628 post_install() { vbin runcron diff --git a/srcpkgs/cronutils/update b/srcpkgs/cronutils/update index f1c5f576fb48..ccb0dc04e003 100644 --- a/srcpkgs/cronutils/update +++ b/srcpkgs/cronutils/update @@ -1,2 +1 @@ -site=https://github.com/google/cronutils/releases -pkgname=version/ +pattern="/archive/refs/tags/version/\K[\d.]+(?=\.tar\.gz)"