diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-06-26 05:01:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-06-26 05:01:39 +0100 |
commit | d787c680591386c6c57894d303d10dc4b7267698 (patch) | |
tree | 3728dee35409542aead5f766061df361b539370b /www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1706.ebuild | |
parent | 7ab7c71bdfc9c55c7380906f07ab78eef9b4a69e (diff) |
bump to v1706
Diffstat (limited to 'www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1706.ebuild')
-rw-r--r-- | www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1706.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1706.ebuild b/www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1706.ebuild new file mode 100644 index 00000000..ab23c8f9 --- /dev/null +++ b/www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1706.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="Symlinks and syncs browser profile dirs to RAM." +HOMEPAGE="https://wiki.archlinux.org/index.php/Profile-sync-daemon" +SRC_URI="https://github.com/graysky2/profile-sync-daemon/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="systemd" + +RDEPEND=" + app-shells/bash + net-misc/rsync + systemd? ( sys-apps/systemd )" + +src_prepare() { + epatch ${FILESDIR}/${P}-openrc-run.patch +} + +src_install() { + emake -j1 DESTDIR="${ED}" \ + install-openrc-all \ + $(usex systemd "install-systemd" "") + + fperms -x /etc/cron.hourly/psd-update +} + +pkg_postinst() { + elog "The cronjob is -x by default." + elog "You might want to set it +x if you don't use" + elog "the systemd provided \"psd-resync.timer\"." +} |