From 822451e6c987e4e2ed1c4dcd571e97cd760ea9b2 Mon Sep 17 00:00:00 2001 From: Aaron Rainbolt Date: Sun, 12 Nov 2023 17:14:34 -0600 Subject: [PATCH] Lubuntuify watch file --- debian/changelog | 1 + debian/watch | 9 ++++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index 0da3f5a..5d8658c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ qps (2.8.0-0ubuntu1) noble; urgency=medium * New upstream release. * Updated copyright file. * Bump build dependency versions. + * Lubuntuify watch file. -- Aaron Rainbolt Sun, 12 Nov 2023 16:54:48 -0600 diff --git a/debian/watch b/debian/watch index b75fbc5..a544020 100644 --- a/debian/watch +++ b/debian/watch @@ -1,6 +1,5 @@ version=4 - -# See https://davesteele.github.io/development/2015/05/02/debian-watch-file-format-for-signed-github-source-tars/ for GitHub workaround for releases page. - -opts="downloadurlmangle=s/archive\/refs\/tags\/@ANY_VERSION@@ARCHIVE_EXT@/releases\/download\/$1\/@PACKAGE@-$1\.tar\.xz/,filenamemangle=s/@ANY_VERSION@@ARCHIVE_EXT@/@PACKAGE@-$1\.tar\.xz/,pgpsigurlmangle=s/$/.asc/" \ -https://github.com/lxqt/@PACKAGE@/tags .*/@ANY_VERSION@@ARCHIVE_EXT@ +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