# Template file for 'sispmctl'
pkgname=sispmctl
version=3.1
revision=2
build_style=gnu-configure
hostmakedepends="libusb-compat-devel"
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=e9a99cc81ef0a93f3484e5093efd14d93cc967221fcd22c151f0bea32eb91da7

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
}
