void-packages/srcpkgs/gnome-authenticator/template

23 lines
902 B
Bash

# Template file for 'gnome-authenticator'
pkgname=gnome-authenticator
version=3.32.2
revision=2
wrksrc="Authenticator-${version}"
build_style=meson
build_helper="gir"
hostmakedepends="gettext appstream-glib desktop-file-utils glib-devel pkg-config"
makedepends="gtk+3-devel libglib-devel libsecret-devel libzbar-devel"
depends="python3-pyzbar python3-Pillow python3-pyotp libhandy python3-gobject
gnome-keyring python3-yoyo-migrations python3-pyfavicon"
short_desc="Two-factor authentication code generator for GNOME"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://gitlab.gnome.org/World/Authenticator"
distfiles="${homepage}/-/archive/${version}/Authenticator-${version}.tar.gz"
checksum="d7250fbef1de2dcb599a55ff3d40dcc6ed5618fe89d50ec795281d8ba3123d5b"
post_patch() {
find src/Authenticator/widgets -type f -exec \
sed -i '/init_template/d' {} +
}