1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
10 DESCRIPTION="Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls and speeding-up browsers"
11 HOMEPAGE="https://wiki.archlinux.org/index.php/Profile-sync-daemon"
12 SRC_URI="http://repo-ck.com/source/${PN}/${P}.tar.xz"
16 KEYWORDS="~amd64 ~x86"
19 DEPEND="app-arch/xz-utils"
20 RDEPEND="app-shells/bash
24 # fix manpage/readme for proper gentoo instructions
25 epatch "${FILESDIR}"/${PV}-manreadme.patch
26 # fix script to work with our initscript
27 epatch "${FILESDIR}"/${PV}-pid.patch
35 insinto /usr/share/${PN}
36 doins "${FILESDIR}"/cronjob
39 newinitd "${FILESDIR}"/daemon ${MY_PN}
42 newconfd ${MY_PN}.conf ${MY_PN}
45 newdoc README-for_other_distros README
47 newman ${MY_PN}.manpage ${PN}.1
51 elog "For adding a cronjob use the file"
52 elog "/usr/share/${PN}/cronjob"