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