From f39b1afb68a1ae6e92ef3fb85158d1e998b4f77f Mon Sep 17 00:00:00 2001 From: Aaron Rainbolt Date: Tue, 18 Nov 2025 13:16:55 -0600 Subject: [PATCH] Use debian/watch version 5 (taken from Debian's packages) --- debian/copyright | 2 +- debian/watch | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/debian/copyright b/debian/copyright index 681f99a..08cfa11 100644 --- a/debian/copyright +++ b/debian/copyright @@ -19,7 +19,6 @@ License: BSD-3-Clause Files: debian/* Copyright: 2015 Andrew Lee (李健秋) 2014-2015 Wen Liao - 2014-2016 ChangZhuo Chen (陳昌倬) 2019 Rik Mills 2013-2019 Alf Gaida 2018-2019 Walter Lapchynski @@ -29,6 +28,7 @@ Copyright: 2015 Andrew Lee (李健秋) 2019-2021 apt-ghetto 2018-2025 Simon Quigley 2022-2025 Aaron Rainbolt + 2014-2025 ChangZhuo Chen (陳昌倬) License: LGPL-2.1+ License: BSD-3-Clause diff --git a/debian/watch b/debian/watch index a544020..4070de7 100644 --- a/debian/watch +++ b/debian/watch @@ -1,5 +1,6 @@ -version=4 -opts="searchmode=plain, \ -pgpsigurlmangle=s/$/.asc/, \ -uversionmangle=s/(\d+\.\d+\.\d+).*/$1/" \ - https://api.github.com/repos/lxqt/@PACKAGE@/releases https:\/\/github.com\/lxqt\/@PACKAGE@\/releases\/download\/@ANY_VERSION@\/@PACKAGE@-@ANY_VERSION@.tar.xz +Version: 5 +Template: GitHub +Owner: lxqt +Project: @PACKAGE@ +Download-Url-Mangle: s%https://api.github.com/repos/([^/]+)/@PACKAGE@/git/refs/tags/@ANY_VERSION@%https://github.com/$1/@PACKAGE@/releases/download/$2/@PACKAGE@-$2.tar.xz%g +Pgp-Mode: auto