void-packages/srcpkgs/syncthing-gtk/template

29 lines
1015 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=6
_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="$depends"
short_desc="GTK based GUI for Syncthing"
maintainer="Frank Steinborn <steinex@nognu.de>"
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=fc71f390a17b10ea9338a60f7ae813a6d6faa7e881b4b31ff7ea4ffdbbecf7a8
# 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
}