ischluff-overlay/x11-misc/yin-yang/yin-yang-1.1_pre020220825.ebuild
Anton Schubert 9324fce86b x11-misc/yin-yang: bump version
Package-Manager: Portage-3.0.30, Repoman-3.0.3
2022-09-07 15:27:28 +02:00

33 lines
751 B
Bash

# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop git-r3
DESCRIPTION="Auto Nightmode for KDE, Gnome, Budige, VSCode, Atom and more"
HOMEPAGE="https://github.com/oskarsh/Yin-Yang"
EGIT_REPO_URI="https://github.com/oskarsh/Yin-Yang.git"
EGIT_COMMIT="e15663fc1e90e7b96bd104cc889fb2c7861e192b"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="
dev-python/QtPy
dev-python/PyQt5
dev-python/suntime
"
BDEPEND=""
src_install() {
dodir /opt/
cp -R "${S}/" "${D}/opt/yin-yang/" || die "Install failed!"
dobin src/yin-yang
domenu "${FILESDIR}/Yin-Yang.desktop"
insinto "$(get_libdir)/mozilla/native-messaging-hosts/"
doins assets/yin_yang.json
}