# Template file for 'gramps'
pkgname=gramps
version=6.0.5
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 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=1295fe352669cdf419d762445db1d26ba5492da30c0a78fef278856eda9cc680
# borked tests
make_check="ci-skip"

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