summaryrefslogtreecommitdiff
path: root/sys-kernel/bliss-kernel-bin/bliss-kernel-bin-5.4.51.ebuild
blob: be4362d1fc87dcf3d977bd52fd901ffce148814c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit kernel-install

# Variables
_LV="FB.01"                     # Local Version
_PLV="${PV}-${_LV}"             # Package Version + Local Version (Module Dir)

# Main
DESCRIPTION="Precompiled Vanilla Kernel (Kernel Ready-to-Eat [KRE])"
HOMEPAGE="https://wiki.gentoo.org/wiki/User:Fearedbliss"
SRC_URI="https://xyinn.org/gentoo/kernels/${_PLV}/kernel-${_PLV}.tar.xz"

RESTRICT="strip test"
LICENSE="GPL-2"
SLOT="${_PLV}"
KEYWORDS="-* amd64"

S="${WORKDIR}"
QA_PREBUILT="*"

src_install() {
	mv * "${ED}" || die
}

pkg_postinst() {
	# Stub out this function. The downloaded tarball is ready to be installed
	# into the OS directly.
	debug-print-function ${FUNCNAME} "${@}"
}