aboutsummaryrefslogtreecommitdiffstats
path: root/testing/getting-things-gnome/APKBUILD
blob: e392ec2f68a1bf6f65631419e772cfa53ed2c71d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=getting-things-gnome
pkgver=0.5
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 py3-lxml"
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/v$pkgver.tar.gz"
builddir="$srcdir/gtg-$pkgver"

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="631f5343301d7d72211398152fa081c0fa15154babc7ec900f13a39a2677d0edaf4fea534a83284207e8019926c9108dc1d8f25bdbeae85ef0665dfe1c7b768a  getting-things-gnome-0.5.tar.gz"