linamh/sci-electronics/minipro/minipro-0.4.ebuild
Mario Fetka c9f516dab4 Bump
2023-07-20 20:28:34 +02:00

32 lines
612 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit bash-completion-r1 udev
DESCRIPTION="A free and open TL866XX programmer"
HOMEPAGE="https://gitlab.com/DavidGriffith/minipro"
SRC_URI="https://gitlab.com/DavidGriffith/minipro/-/archive/${PV}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="virtual/libusb:1"
DEPEND="${RDEPEND}"
src_install() {
dobin minipro miniprohex
doman man/minipro.1
udev_dorules udev/*.rules
dobashcomp bash_completion.d/minipro
}
pkg_postinst() {
udev_reload
}
pkg_postrm() {
udev_reload
}