# Template file for 'udiskie'
pkgname=udiskie
version=2.5.3
revision=1
build_style=python3-module
hostmakedepends="gettext asciidoc python3-setuptools"
depends="gtk+3 libnotify python3-docopt python3-gobject python3-keyutils
 python3-yaml udisks2"
checkdepends="${depends} python3-pytest-xdist"
short_desc="Removable disk automounter using udisks"
maintainer="Matthias Fulz <mfulz@olznet.de>"
license="MIT"
homepage="https://github.com/coldfix/udiskie"
changelog="https://raw.githubusercontent.com/coldfix/udiskie/master/CHANGES.rst"
distfiles="https://github.com/coldfix/udiskie/archive/refs/tags/v${version}.tar.gz"
checksum=6971adaa00dcd6b799b8a0b62c47103e0ad9a3f1880112c51ccc662316d2b306
make_check=ci-skip # privilege issue with keyring in container

post_build() {
	make -C doc
}

post_install() {
	vlicense COPYING
	vman doc/udiskie.8
	vsconf example/config.yml
}
