# Template file for 'gramps'
pkgname=gramps
version=6.0.8
revision=1
build_style=python3-module
hostmakedepends="pkg-config intltool python3-setuptools"
depends="gtk+3 python3-gobject python3-bsddb3 python3-PyICU python3-jsonschema python3-lxml python3-imagesize python3-orjson"
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/2025/09/2125/"
distfiles="https://github.com/gramps-project/${pkgname}/archive/v${version}.tar.gz"
checksum=f36069c71449b92636883f69addae38e76fa07ec37d9b3fcb5cac0b38390e314
# borked tests
make_check="ci-skip"

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