# Maintainer: Mark Wagie # Contributor: Baptiste Grenier # Contributor: Pablo Olmos de Aguilera Corradini # Contributor: Sander van Kasteel pkgname=gtg-git pkgver=0.6.r422.g80b09c84 pkgrel=1 pkgdesc="Getting Things GNOME! is a personal tasks and TODO-list items organizer for GNOME" arch=('any') url="https://wiki.gnome.org/Apps/GTG" license=('GPL-3.0-or-later') depends=( 'dbus-python' 'gtk4' 'gtksourceview5' 'libsecret' 'python-caldav' 'python-gobject' 'python-liblarch-git' 'python-lxml' ) makedepends=( 'git' 'itstool' 'meson' ) #checkdepends=( # 'python-pytest' #) optdepends=( 'hamster-time-tracker: send a task to the Hamster time tracking applet' 'pdftk: for the Export and print plugin' 'python-cheetah3: for the Export and print plugin' 'python-setproctitle: to set the process title when listing processes like ps)' 'texlive-bin: pdflatex, for the Export and print plugin' 'texlive-binextra: pdfjam, for the Export and print plugin' 'yelp: view user manual' ) provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") source=('git+https://github.com/getting-things-gnome/gtg.git') sha256sums=('SKIP') pkgver() { cd "${pkgname%-git}" git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { arch-meson "${pkgname%-git}" build meson compile -C build } #check() { # cd "${pkgname%-git}" # python run-tests #} package() { meson install -C build --destdir "$pkgdir" }