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