# Template file for 'udiskie'
pkgname=udiskie
version=2.5.1
revision=1
build_style=python3-module
hostmakedepends="gettext asciidoc python3-setuptools"
depends="gtk+3 libnotify python3-docopt python3-gobject python3-keyutils
 python3-yaml python3-setuptools 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=019a167722395ada815fca0cb1d1244988c588ee9c4868a194f267439a700d82
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
}
