# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit unpacker wrapper DESCRIPTION="Amazfit Bip Tools (for watchface/firmware cooking)" HOMEPAGE="https://bitbucket.org/valeronm/amazfitbiptools" SRC_URI="https://bitbucket.org/valeronm/amazfitbiptools/downloads/AmazfitBipTools-${PV}.7z" S="${WORKDIR}" LICENSE="Ms-PL" SLOT="0" KEYWORDS="~amd64 ~x86" BDEPEND="app-arch/p7zip" RDEPEND="dev-lang/mono" src_install() { insinto /opt/${PN} doins -r * make_wrapper "WatchFace" "mono WatchFace.exe" "/opt/${PN}" }