diff options
author | 2024-10-22 11:23:29 +0200 | |
---|---|---|
committer | 2024-10-22 11:23:29 +0200 | |
commit | bd033c7cc236474073fe6bdf41d10acba1e2d2ca (patch) | |
tree | 50789a05e74a22983dde4a1ea107574fd3032dac /app-admin | |
parent | dev-util/rye: add 0.42.0, drop 0.41.0 (diff) | |
download | guru-bd033c7cc236474073fe6bdf41d10acba1e2d2ca.tar.gz guru-bd033c7cc236474073fe6bdf41d10acba1e2d2ca.tar.bz2 guru-bd033c7cc236474073fe6bdf41d10acba1e2d2ca.zip |
app-admin/customrescuecd-x86: treeclean
Signed-off-by: David Roman <davidroman96@gmail.com>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/customrescuecd-x86/Manifest | 1 | ||||
-rw-r--r-- | app-admin/customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild | 55 | ||||
-rw-r--r-- | app-admin/customrescuecd-x86/metadata.xml | 12 |
3 files changed, 0 insertions, 68 deletions
diff --git a/app-admin/customrescuecd-x86/Manifest b/app-admin/customrescuecd-x86/Manifest deleted file mode 100644 index c9378b19c..000000000 --- a/app-admin/customrescuecd-x86/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST CUSTOMRESCUECD-x86-0.4.1.iso 1322811392 BLAKE2B bd63d40baf6426ed525c13e91ce65469f8f2a263072003c4dc1adea1ca75f894d2517c94063488fa75e1fa6012202ddbbf5281378c17a26edad683ce49996391 SHA512 46f1a2f20697b666fc4506abb405a8ebf58b63a83c5faacfc70e352c9eb9cd4a75ca742ac0011119e8baadd6fb467cfb306d8009994dbf2879a45486ccfe57bc diff --git a/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild b/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild deleted file mode 100644 index 94a7a231e..000000000 --- a/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_P="CUSTOMRESCUECD-x86" -DESCRIPTION="A system rescue cd or usbstick for desktop and server based on gentoo" -HOMEPAGE="https://sourceforge.net/projects/customrescuecd/" -SRC_URI="https://downloads.sourceforge.net/customrescuecd/"${MY_P}"-"${PV}".iso" - -S=${WORKDIR} - -LICENSE="GPL-3" -SLOT="${PV}" -KEYWORDS="~x86" -RESTRICT="bindist mirror" - -src_unpack() { :; } - -src_install() { - insinto "/usr/share/${PN%-*}" - doins "${DISTDIR}/${MY_P}-${PV}.iso" -} - -pkg_postinst() { - local f=${EROOT}/usr/share/${PN%-*}/${PN}-newest.iso - - # no version newer than ours? we're the newest! - if ! has_version ">${CATEGORY}/${PF}"; then - ln -f -s -v "${MY_P}-${PV}.iso" "${f}" || die - fi -} - -pkg_postrm() { - local f=${EROOT}/usr/share/${PN%-*}/${PN}-newest.iso - - # if there is no version newer than ours installed - if ! has_version ">${CATEGORY}/${PF}"; then - # and we are truly and completely uninstalled... - if [[ ! ${REPLACED_BY_VERSION} ]]; then - # then find an older version to set the symlink to - local newest_version=$(best_version "<${CATEGORY}/${PF}") - - if [[ ${newest_version} ]]; then - # update the symlink - ln -f -s -v "${newest_version%-r*}.iso" "${f}" || die - else - # last version removed? clean up the symlink - rm -v "${f}" || die - # and the parent directory - rmdir "${f%/*}" || die - fi - fi - fi -} diff --git a/app-admin/customrescuecd-x86/metadata.xml b/app-admin/customrescuecd-x86/metadata.xml deleted file mode 100644 index 3b9d7aaab..000000000 --- a/app-admin/customrescuecd-x86/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>andrea.postiglione@gmail.com</email> - <name>Andrea Postiglione</name> - </maintainer> - <stabilize-allarches/> - <upstream> - <remote-id type="sourceforge">customrescuecd</remote-id> - </upstream> -</pkgmetadata> |