diff options
Diffstat (limited to 'www-misc/profile-sync-daemon/profile-sync-daemon-6.50.ebuild')
-rw-r--r-- | www-misc/profile-sync-daemon/profile-sync-daemon-6.50.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/www-misc/profile-sync-daemon/profile-sync-daemon-6.50.ebuild b/www-misc/profile-sync-daemon/profile-sync-daemon-6.50.ebuild new file mode 100644 index 000000000000..d8a33596e6ea --- /dev/null +++ b/www-misc/profile-sync-daemon/profile-sync-daemon-6.50.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Symlinks and syncs browser profile dirs to RAM" +HOMEPAGE="https://wiki.archlinux.org/title/Profile-sync-daemon" +SRC_URI="https://github.com/graysky2/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + app-shells/bash + net-misc/rsync[xattr] + sys-apps/systemd +" + +src_install() { + emake DESTDIR="${D}" COMPRESS_MAN=0 install +} + +pkg_postinst() { + local replacing + for replacing in ${REPLACING_VERSIONS}; do + if [[ $(ver_cut 1 "${replacing}") -eq 5 ]]; then + ewarn "${PN}-6 and later dropped OpenRC and /etc/psd.conf support" + ewarn "See https://github.com/graysky2/profile-sync-daemon#note-for-version-6" + break + fi + done +} |