summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-portage/cfg-update')
-rw-r--r--app-portage/cfg-update/cfg-update-1.8.9-r2.ebuild (renamed from app-portage/cfg-update/cfg-update-1.8.9.ebuild)12
-rw-r--r--app-portage/cfg-update/metadata.xml3
2 files changed, 7 insertions, 8 deletions
diff --git a/app-portage/cfg-update/cfg-update-1.8.9.ebuild b/app-portage/cfg-update/cfg-update-1.8.9-r2.ebuild
index d0afd7d9ead5..beacc660fe49 100644
--- a/app-portage/cfg-update/cfg-update-1.8.9.ebuild
+++ b/app-portage/cfg-update/cfg-update-1.8.9-r2.ebuild
@@ -1,13 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-inherit eutils
+EAPI=8
DESCRIPTION="Easy to use GUI & CLI alternative for etc-update"
HOMEPAGE="https://github.com/rich0/cfg-update"
-SRC_URI="https://github.com/rich0/cfg-update/tarball/${PV} -> ${P}.tgz"
+SRC_URI="https://github.com/rich0/cfg-update/archive/${PV}.tar.gz -> ${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
@@ -24,7 +22,7 @@ RDEPEND="
S="${WORKDIR}/rich0-cfg-update-2f10786"
pkg_prerm() {
- if [[ ${ROOT} == / ]]
+ if [[ -z ${ROOT} ]]
then
ebegin "Disabling portage hook"
cfg-update --ebuild --disable-portage-hook
@@ -82,7 +80,7 @@ pkg_postinst() {
echo
fi
- if [[ ${ROOT} == / ]]
+ if [[ -z ${ROOT} ]]
then
ebegin "Moving backups to /var/lib/cfg-update/backups"
/usr/bin/cfg-update --ebuild --move-backups
diff --git a/app-portage/cfg-update/metadata.xml b/app-portage/cfg-update/metadata.xml
index 1864b4eb4ebf..7e1aa3ceff28 100644
--- a/app-portage/cfg-update/metadata.xml
+++ b/app-portage/cfg-update/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>rich0@gentoo.org</email>
@@ -7,4 +7,5 @@
<upstream>
<remote-id type="github">rich0/cfg-update</remote-id>
</upstream>
+ <stabilize-allarches/>
</pkgmetadata>