# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=getting-things-gnome _commit=75ac270d0322fd33e3e926ad847009adc13ac1b5 pkgver=20200622 pkgrel=0 pkgdesc="A personal tasks and TODO-list items organizier for GNOME, inspired by the Getting Things Done methodology" url="https://wiki.gnome.org/Apps/GTG" arch="noarch" license="GPL-3.0-or-later" depends="python3 py3-xdg py3-dbus py3-gobject3 py3-liblarch" makedepends="py3-setuptools gettext meson" checkdepends="py3-nose py3-pyflakes py3-mock py3-pycodestyle xvfb-run" subpackages="$pkgname-doc $pkgname-lang" source="$pkgname-$pkgver.tar.gz::https://github.com/getting-things-gnome/gtg/archive/$_commit.tar.gz dont-require-py3-gettext.patch" builddir="$srcdir/gtg-$_commit" build() { abuild-meson output meson compile ${JOBS:+-j ${JOBS}} -C output } check() { xvfb-run python3 run-tests } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums="012f58689e6dfe5b411ff13cec594ae9c6e19eeef27464d482a4dd839f97511fed883d0708c4a58be248056dcd424488a43f58edf637edad9905b3d609fa2c9f getting-things-gnome-20200622.tar.gz 71ebc9626cc3545774cab5e6b5147d67456c40219cab8eb29b9c05640b6eb847ce58b3a4b2ad49c8da9a2ea547426d33546eafe2f2a54776fc94a6600868a45d dont-require-py3-gettext.patch"