# Template file for 'gramps'
pkgname=gramps
version=5.1.6
revision=2
build_style=python3-module
hostmakedepends="pkg-config intltool python3-setuptools"
depends="gtk+3 python3-gobject python3-bsddb3 python3-PyICU python3-jsonschema python3-lxml"
checkdepends="$depends"
short_desc="Genealogy program"
maintainer="Piraty <mail@piraty.dev>"
license="GPL-2.0-or-later"
homepage="https://gramps-project.org"
changelog="https://gramps-project.org/blog/2020/08/gramps-5-1-3-released/"
distfiles="https://github.com/gramps-project/${pkgname}/archive/v${version}.tar.gz"
checksum=bff0b5694e77e0f7075fb76481c4523d37646cc042c8dd9897ff2e0cd401fa3b
# borked tests
make_check="ci-skip"

post_install() {
	echo -n '/usr/share' > ${DESTDIR}/${py3_sitelib}/gramps/gen/utils/resource-path
}
