Diff foldingathome-7.6.13-r1 with a foldingathome-7.6.21
/usr/portage/sci-biology/foldingathome/foldingathome-7.6.21.ebuild 2023-10-09 14:52:35.020368490 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit systemd |
7 | 7 | |
... | ... | |
61 | 61 |
doins sample-config.xml |
62 | 62 | |
63 | 63 |
newconfd "${FILESDIR}"/7.3/folding-conf.d foldingathome |
64 |
cat <<EOF >"${T}"/fah-init |
|
64 |
cat <<EOF >"${T}"/fah-init || die |
|
65 | 65 |
#!/sbin/openrc-run |
66 | 66 |
# Copyright 1999-2020 Gentoo Authors |
67 | 67 |
# Distributed under the terms of the GNU General Public License v2 |
... | ... | |
75 | 75 |
EOF |
76 | 76 |
newinitd "${T}"/fah-init foldingathome |
77 | 77 | |
78 |
cat <<EOF >"${T}"/fah-init.service |
|
78 |
cat <<EOF >"${T}"/fah-init.service || die |
|
79 | 79 |
[Unit] |
80 | 80 |
Description=Folding@Home V7 Client |
81 | 81 |
Documentation=https://foldingathome.org |
... | ... | |
134 | 134 | |
135 | 135 |
pkg_config() { |
136 | 136 |
cd "${EPREFIX}"/opt/foldingathome || die |
137 |
su foldingathome -s /bin/sh -c "./FAHClient --configure" |
|
137 |
su foldingathome -s /bin/sh -c "./FAHClient --configure" || die |
|
138 | 138 |
} |