Difference between revisions of "Development Guide/ebuilding"
Jump to navigation
Jump to search
(add a follow along scaffold, generic ebuild digest command, and sub paged because more information can be added.) |
(No difference)
|
Latest revision as of 10:55, December 21, 2020
Ebuilding With Github
~/myoverlay/mygithub.ebuild
- Github ebuild scaffolding# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit git-r3
DESCRIPTION="My Ebuilds use"
HOMEPAGE=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"
GITHUB_REPO=""
GITHUB_USER=""
GITHUB_TAG=""
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}/tarball/${GITHUB_TAG} -> ${PN}-${GITHUB_TAG}.tar.gz"
src_unpack() {
unpack ${A}
mv "${WORKDIR}/${GITHUB_USER}-${GITHUB_REPO}"-??????? "${S}" || die
}
root # ebuild *.ebuild digest