void-packages/srcpkgs/sispmctl/template

20 lines
679 B
Bash

# Template file for 'sispmctl'
pkgname=sispmctl
version=4.9
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.org>"
license="GPL-2.0-or-later"
homepage="http://sispmctl.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=6a9ec7125e8c01bb45d4a3b56f07fb41fc437020c8dcd8c0f29ebb98dc55a647
system_groups="sispmctl"
post_install() {
vinstall ${DESTDIR}/usr/share/doc/sispmctl/examples/60-sispmctl.rules 644 usr/lib/udev/rules.d/
rm -r ${DESTDIR}/usr/share/doc/sispmctl/examples
}