From 305604adcedbeef0435e961e0d41fd0c6aff90fa Mon Sep 17 00:00:00 2001 From: Frank Steinborn Date: Sun, 13 Feb 2022 15:46:26 +0100 Subject: [PATCH] syncthing-gtk: restore sane versioning --- srcpkgs/syncthing-gtk/template | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/srcpkgs/syncthing-gtk/template b/srcpkgs/syncthing-gtk/template index 336afea95255..5d370324e6f0 100644 --- a/srcpkgs/syncthing-gtk/template +++ b/srcpkgs/syncthing-gtk/template @@ -1,19 +1,29 @@ # Template file for 'syncthing-gtk' pkgname=syncthing-gtk reverts="0.14.36_1" -version=0.9.4.4+ds+git20220108+9023143f8b93 -revision=2 +reverts="0.9.4.4+ds+git20220108+9023143f8b93_1" +reverts="0.9.4.4+ds+git20220108+9023143f8b93_2" +version=0.9.4.4 +revision=4 +_debianver="ds+git20220108+9023143f8b93" build_style=python3-module hostmakedepends="python3-setuptools gettext" depends="syncthing python3-dateutil libnotify librsvg python3-bcrypt python3-cairo gtk+3 python3-gobject" +checkdepends="python3-gobject python3-pip python3-wheel" short_desc="GTK based GUI for Syncthing" maintainer="Frank Steinborn " license="GPL-2.0-or-later" homepage="https://salsa.debian.org/debian/syncthing-gtk/" -distfiles="${DEBIAN_SITE}/main/s/syncthing-gtk/syncthing-gtk_${version}.orig.tar.xz" +distfiles="${DEBIAN_SITE}/main/s/syncthing-gtk/syncthing-gtk_${version}+${_debianver}.orig.tar.xz" checksum=fc71f390a17b10ea9338a60f7ae813a6d6faa7e881b4b31ff7ea4ffdbbecf7a8 +# on check +# v0.9.4.4-ds-git20220108-9023143f8b93 is an invalid version and will not be supported in a future release +post_extract() { + mv ${XBPS_BUILDDIR}/syncthing* ${wrksrc} +} + pre_configure() { ./generate-locales.sh }