# Template file for 'wch-isp'
pkgname=wch-isp
version=0.5.0
revision=1
build_style=gnu-makefile
hostmakedepends="pkgconf scdoc"
makedepends="libusb-devel"
short_desc="USB firmware flasher for WCH microcontrollers"
maintainer="al20ov <nicolas.antauf@gmail.com>"
license="GPL-2.0-only"
homepage="https://git.sr.ht/~jmaselbas/wch-isp"
distfiles="https://git.sr.ht/~jmaselbas/${pkgname}/archive/v${version}.tar.gz"
checksum=216fd59e16a15d4d29c13ba47fbbe5c688514dec99b51758efaed34ddc2de3e7

post_install() {
	vinstall 50-wchisp.rules 644 usr/lib/udev/rules.d/
}
