New package: minipro-0.6

Closes: #43443 [via git-merge-pr]
This commit is contained in:
Bryce Vandegrift 2023-04-14 14:11:43 -04:00 committed by Duncaen
parent 9f46c8f511
commit 69290d8b7e
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
1 changed files with 25 additions and 0 deletions

25
srcpkgs/minipro/template Normal file
View File

@ -0,0 +1,25 @@
# Template file for 'minipro'
pkgname=minipro
version=0.6
revision=1
build_style=gnu-makefile
make_use_env=compliant
hostmakedepends="pkg-config which"
makedepends="libusb-devel"
short_desc="Program for controlling the MiniPRO TL866xx series of chip programmers"
maintainer="Bryce Vandegrift <bryce@brycevandegrift.xyz>"
license="GPL-3.0-or-later"
homepage="https://gitlab.com/DavidGriffith/minipro"
distfiles="https://gitlab.com/DavidGriffith/minipro/-/archive/${version}/minipro-${version}.tar.gz"
checksum=16b4220b5fc07dddc4d1d49cc181a2c6a735c833cc27f24ab73eac2572c9304a
post_patch() {
vsed -i Makefile -e 's/CC=gcc/CC?=gcc/'
}
post_install() {
vmkdir usr/lib/udev/rules.d
vcopy "udev/*" usr/lib/udev/rules.d
vcompletion bash_completion.d/minipro bash
}