Last active
August 2, 2022 11:17
-
-
Save me00001/02310244d61ecb8f1ebfab2302ab12bd to your computer and use it in GitHub Desktop.
stacer pkg for portage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2021 Gentoo Authors | |
# Distributed under the terms of the GNU General Public License v2 | |
EAPI=7 | |
inherit cmake | |
DESCRIPTION="Linux System Optimizer and Monitoring" | |
HOMEPAGE="https://github.com/oguzhaninan/Stacer" | |
SRC_URI="https://github.com/oguzhaninan/Stacer/archive/v${PV}.tar.gz -> ${P}.tar.gz" | |
LICENSE="GPL-3" | |
SLOT="0" | |
KEYWORDS="~amd64 ~x86" | |
IUSE="" | |
DEPEND="dev-qt/qtcharts | |
dev-qt/qtconcurrent | |
dev-qt/qtnetwork | |
dev-qt/linguist-tools | |
" | |
RDEPEND="${DEPEND}" | |
BDEPEND="" | |
S="${WORKDIR}/Stacer-${PV}" | |
src_install() { | |
default | |
dobin ${BUILD_DIR}/output/stacer | |
insinto /usr/share/icons/ | |
cp -r "${S}"/icons/* "${ED}"/usr/share/icons | |
insinto /usr/share/applications/ | |
doins applications/stacer.desktop | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When building I get the following error:
# ebuild stacer-1.1.0.ebuild src_install Appending / to PORTDIR_OVERLAY... ebuild: /root/stacer-1.1.0.ebuild: /stacer-1.1.0: does not follow correct package syntax