Skip to content

Instantly share code, notes, and snippets.

@me00001
Last active August 2, 2022 11:17
Show Gist options
  • Save me00001/02310244d61ecb8f1ebfab2302ab12bd to your computer and use it in GitHub Desktop.
Save me00001/02310244d61ecb8f1ebfab2302ab12bd to your computer and use it in GitHub Desktop.
stacer pkg for portage
# 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
}
@roythearsonist
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment