2012-05-19 14:17:49 +04:00
|
|
|
# Copyright 1999-2011 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
2022-08-05 09:05:30 +03:00
|
|
|
EAPI="7"
|
2012-05-19 14:17:49 +04:00
|
|
|
|
|
|
|
if [[ ${PV} == "9999" ]] ; then
|
2018-03-28 19:04:39 +03:00
|
|
|
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://git.backbone.ws/kolan/Gentoo-Upgrade.git"}
|
2015-10-12 19:44:08 +03:00
|
|
|
inherit git-r3
|
2012-05-19 14:17:49 +04:00
|
|
|
KEYWORDS=""
|
|
|
|
else
|
2018-03-28 19:04:39 +03:00
|
|
|
SRC_URI="https://git.backbone.ws/kolan/gentoo-upgrade/archive/v${PVR}.tar.gz -> gentoo-upgrade-${PVR}.tar.gz"
|
2012-05-19 14:17:49 +04:00
|
|
|
KEYWORDS="-* ~x86 ~amd64"
|
|
|
|
fi
|
|
|
|
|
|
|
|
DESCRIPTION="Automated Gentoo upgrading"
|
|
|
|
|
2018-03-28 19:04:39 +03:00
|
|
|
HOMEPAGE="https://git.backbone.ws/kolan/Gentoo-Upgrade"
|
2012-05-19 14:17:49 +04:00
|
|
|
|
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
if [[ ${PV} == "9999" ]] ; then
|
|
|
|
# Allow user patches to be applied without modifying the ebuild
|
2021-10-13 09:45:05 +03:00
|
|
|
eapply_user
|
2012-05-19 14:17:49 +04:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
if [[ ${PV} == "9999" ]] ; then
|
|
|
|
emake install DESTDIR="${D}"
|
|
|
|
else
|
|
|
|
emake install DESTDIR="${D}" || die
|
|
|
|
fi
|
|
|
|
}
|