Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-admin/customrescuecd-x86_64/
Date: Mon, 02 May 2022 17:51:03
Message-Id: 1651513283.a0d587cb1ae0fadb77420870da37eb936605fea0.arthurzam@gentoo
1 commit: a0d587cb1ae0fadb77420870da37eb936605fea0
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 2 17:41:18 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Mon May 2 17:41:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a0d587cb
7
8 app-admin/customrescuecd-x86_64: drop 0.12.6
9
10 Dropped because of missing Manifest value
11
12 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
13
14 .../customrescuecd-x86_64-0.12.6.ebuild | 55 ----------------------
15 1 file changed, 55 deletions(-)
16
17 diff --git a/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.6.ebuild b/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.6.ebuild
18 deleted file mode 100644
19 index 97ae9bab2..000000000
20 --- a/app-admin/customrescuecd-x86_64/customrescuecd-x86_64-0.12.6.ebuild
21 +++ /dev/null
22 @@ -1,55 +0,0 @@
23 -# Copyright 1999-2021 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -
28 -MY_P="CUSTOMRESCUECD-x86_64"
29 -DESCRIPTION="A system rescue cd or usbstick for desktop and server based on gentoo"
30 -HOMEPAGE="https://sourceforge.net/projects/customrescuecd/"
31 -SRC_URI="mirror://sourceforge/customrescuecd/"${MY_P}"-"${PV}".iso"
32 -
33 -LICENSE="GPL-3"
34 -SLOT="${PV}"
35 -KEYWORDS="~amd64"
36 -RESTRICT="bindist mirror"
37 -
38 -S=${WORKDIR}
39 -
40 -src_unpack() { :; }
41 -
42 -src_install() {
43 - insinto "/usr/share/${PN%-*}"
44 - doins "${DISTDIR}/${MY_P}-${PV}.iso"
45 -}
46 -
47 -pkg_postinst() {
48 - local f=${EROOT}/usr/share/${PN%-*}/${PN}-newest.iso
49 -
50 - # no version newer than ours? we're the newest!
51 - if ! has_version ">${CATEGORY}/${PF}"; then
52 - ln -f -s -v "${MY_P}-${PV}.iso" "${f}" || die
53 - fi
54 -}
55 -
56 -pkg_postrm() {
57 - local f=${EROOT}/usr/share/${PN%-*}/${PN}-newest.iso
58 -
59 - # if there is no version newer than ours installed
60 - if ! has_version ">${CATEGORY}/${PF}"; then
61 - # and we are truly and completely uninstalled...
62 - if [[ ! ${REPLACED_BY_VERSION} ]]; then
63 - # then find an older version to set the symlink to
64 - local newest_version=$(best_version "<${CATEGORY}/${PF}")
65 -
66 - if [[ ${newest_version} ]]; then
67 - # update the symlink
68 - ln -f -s -v "${newest_version%-r*}.iso" "${f}" || die
69 - else
70 - # last version removed? clean up the symlink
71 - rm -v "${f}" || die
72 - # and the parent directory
73 - rmdir "${f%/*}" || die
74 - fi
75 - fi
76 - fi
77 -}