Diff profile-sync-daemon-6.35 with a profile-sync-daemon-9999
/usr/portage/www-misc/profile-sync-daemon/profile-sync-daemon-9999.ebuild 2023-10-09 14:52:35.896368512 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=6 |
|
5 | ||
6 |
inherit git-r3 |
|
5 | 7 | |
6 | 8 |
DESCRIPTION="Symlinks and syncs browser profile dirs to RAM" |
7 | 9 |
HOMEPAGE="https://wiki.archlinux.org/index.php/Profile-sync-daemon" |
8 | ||
9 |
SRC_URI="https://github.com/graysky2/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|
10 |
KEYWORDS="amd64 x86" |
|
10 |
EGIT_REPO_URI="https://github.com/graysky2/${PN}" |
|
11 | 11 | |
12 | 12 |
LICENSE="MIT" |
13 | 13 |
SLOT="0" |
... | ... | |
17 | 17 |
app-shells/bash |
18 | 18 |
net-misc/rsync[xattr] |
19 | 19 |
sys-apps/systemd" |
20 | ||
21 |
src_install() { |
|
22 |
emake DESTDIR="${D}" COMPRESS_MAN=0 install |
|
23 |
} |
|
24 | ||
25 |
pkg_postinst() { |
|
26 |
local replacing |
|
27 |
for replacing in ${REPLACING_VERSIONS}; do |
|
28 |
if [[ "$(ver_cut 1 "${replacing}")" == "5" ]]; then |
|
29 |
ewarn "${PN}-6 and later dropped OpenRC and /etc/psd.conf support" |
|
30 |
ewarn "See https://github.com/graysky2/profile-sync-daemon#note-for-version-6" |
|
31 |
break |
|
32 |
fi |
|
33 |
done |
|
34 |
} |