# Template file for 'sispmctl'
pkgname=sispmctl
version=4.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libusb-compat-devel"
short_desc="Application to control GEMBIRD (m)SiS-PM devices"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
homepage="http://sispmctl.sourceforge.net/"
distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.gz"
checksum=442d9bb9774da7214c222144035ac68ad5d25171040ce2731cfdf49b3365cfd5

post_install() {
	cd extras/gemplug

	vbin gemplug
	vman gemplug.1
	vinstall 74-sispmctl.rules 644 usr/lib/udev/rules.d
	vinstall gemplug-completion.sh 644 usr/share/bash-completion/completions
}