diff --git a/srcpkgs/gnome-authenticator/template b/srcpkgs/gnome-authenticator/template new file mode 100644 index 00000000000..02b59f73208 --- /dev/null +++ b/srcpkgs/gnome-authenticator/template @@ -0,0 +1,23 @@ +# Template file for 'gnome-authenticator' +pkgname=gnome-authenticator +version=0.2.4 +revision=1 +_libgd_hash=7ae254bfc5f641c60566614e08245176f7bc5aa8 +wrksrc="Authenticator-${version}" +build_style=meson +hostmakedepends="appstream-glib desktop-file-utils git glib-devel pkg-config" +makedepends="gobject-introspection gtk+3-devel libglib-devel python3" +depends="python3-pyzbar python3-Pillow python3-pyotp" +short_desc="Two-factor authentication code generator for GNOME" +maintainer="Rasmus Thomsen " +license="GPL-2.0-or-later" +homepage="https://gitlab.gnome.org/World/Authenticator" +distfiles="${homepage}/-/archive/${version}/Authenticator-${version}.tar.gz + https://gitlab.gnome.org/GNOME/libgd/-/archive/${_libgd_hash}/libgd-${_libgd_hash}.tar.bz2" +checksum="5757ab4f097b6ed5855224d06ec5d6cd4c9748cc42733f32d425ca2b2325903a + 2bf6cd82b48f62d2725d7c52a77cc091958877e1cff5af303bdd9a7d364da00a" +nocross="hard depends on gobject-introspection" + +pre_configure() { + mv ../libgd-${_libgd_hash}/* subprojects/libgd +}