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="net-misc/rsync"
23 # fix manpage/readme for proper gentoo instructions
24 epatch "${FILESDIR}"/${MY_PN}-manreadme.patch
25 # fix script to work with our daemon
26 epatch "${FILESDIR}"/${MY_PN}-pid.patch
37 # install optional cronjob
38 insinto /usr/share/${PN}
39 doins "${FILESDIR}"/cronjob
42 newinitd "${FILESDIR}"/daemon ${MY_PN}
47 newman ${MY_PN}.manpage ${PN}.1
51 elog "For adding a cronjob use the file"
52 elog "/usr/share/${PN}/cronjob"