Difference between revisions of "User talk:Pnoecker"

From Funtoo
Jump to navigation Jump to search
(digesting)
(→‎ebuilding: add a github scaffold)
Line 21: Line 21:


==ebuilding==
==ebuilding==
{{file|name=~/myoverlay/mygithub.ebuild|desc=Github ebuild scaffolding|body=
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit git-r3
DESCRIPTION="My Ebuilds usage."
HOMEPAGE=""
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
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
}
src_prepare(){
}
}}
{{console|body=
{{console|body=
###i## ebuild *.ebuild digest
###i## ebuild *.ebuild digest
}}
}}

Revision as of 07:23, December 21, 2020

root # wget https://www.funtoo.org/images/f/f9/Mybackground.png -O /boot/grub/mybackground.png
  • /boot/grub/grub.cfg
set gfxmode=auto
   insmod all_video
   terminal_output gfxterm
fi
load_video
font=unicode
insmod gfxterm
insmod png
background_image -m stretch /grub/mybackground.png
insmod gettext
set lang=en_US
set menu_color_normal=light-magenta/black
set menu_color_highlight=black/light-magenta

ebuilding

   ~/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 usage."
HOMEPAGE=""

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
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}"
root # ebuild *.ebuild digest