# Template file for 'xplugd'
pkgname=xplugd
version=1.4
revision=1
build_style=gnu-configure
hostmakedepends="automake pkg-config"
makedepends="libXi-devel libXrandr-devel"
short_desc="Daemon that executes a script on X input and RandR changes"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="MIT"
homepage="https://github.com/troglobit/xplugd"
distfiles="https://github.com/troglobit/xplugd/archive/v${version}.tar.gz"
checksum=7f84aeacd1fa0d317555e836d460e8f8a529fe57f308e831d426381b8e944e34

pre_configure() {
	./autogen.sh
}

post_install() {
	vlicense LICENSE
	rm -f ${DESTDIR}/usr/share/doc/xplugd/LICENSE
}
