summaryrefslogtreecommitdiff
path: root/www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-04 16:55:02 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-04 16:55:02 +0000
commit9537deb073178c7a997e4810a6e499b74963089d (patch)
tree133dacf0653523958dc73daa021e87b4fd08f05b /www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1.ebuild
parent7623b8b96d81e5a06582627a3c16184aa9a407dd (diff)
lower revisions
Diffstat (limited to 'www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1.ebuild')
-rw-r--r--www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1.ebuild b/www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1.ebuild
new file mode 100644
index 00000000..6df724c0
--- /dev/null
+++ b/www-misc/profile-sync-daemon/profile-sync-daemon-5.45.1-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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() {
+ default
+ 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\"."
+}