aboutsummaryrefslogtreecommitdiffstats
path: root/testing/getting-things-gnome/APKBUILD
blob: f4b703df46a358c54e0d2c0e1e05a26195b984bd (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
31
32
33
34
35
# 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
	remove-unused-keyword.patch
	"
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
21abbb30321e8c178dd0d4118196145c72145150915adfad9b220d149cb52828c3ba1714aeaae79e5b69560ad0d37c31358935e2ec7da8d1a8e65fdc533a821d  remove-unused-keyword.patch
"