void-packages/srcpkgs/syncthing-gtk/template

29 lines
1012 B
Bash

# Template file for 'syncthing-gtk'
pkgname=syncthing-gtk
reverts="0.14.36_1 0.9.4.4+ds+git20220108+9023143f8b93_1 0.9.4.4+ds+git20220108+9023143f8b93_2"
version=0.9.4.4
revision=8
_debianver="ds+git20221205+12a9702d29ab"
build_style=python3-module
hostmakedepends="python3-setuptools gettext"
depends="syncthing python3-dateutil libnotify librsvg python3-bcrypt
python3-cairo gtk+3 python3-gobject"
checkdepends="$depends"
short_desc="GTK based GUI for Syncthing"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://salsa.debian.org/debian/syncthing-gtk/"
distfiles="${DEBIAN_SITE}/main/s/syncthing-gtk/syncthing-gtk_${version}+${_debianver}.orig.tar.xz"
checksum=1ed5cb11658e496f400630e802dc62c09e25ddd1987e6e458cb63910d1440905
# for checks
# v0.9.4.4-ds-git20220108-9023143f8b93 is an invalid version and will not be supported in a future release
# remove windows.py
post_extract() {
rm ${wrksrc}/syncthing_gtk/windows.py
}
pre_configure() {
./generate-locales.sh
}