1 # Maintainer: graysky <graysky AT archlinux DOT us>
3 pkgname='profile-sync-daemon'
7 pkgdesc='Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls and speeding-up browsers.'
9 url='https://wiki.archlinux.org/index.php/Profile-sync-daemon'
12 optdepends=('cron: allow hourly (default) or periodic syncs of tmpfs <--> HDD/SDD storage')
13 conflicts=('firefox-sync' 'firefox-tmpfs-daemon' 'chromium-tmpfs' 'tmpfs-store')
14 replaces=('sync-browsers-daemon')
15 source="http://repo-ck.com/source/$pkgname/$pkgname-$pkgver.tar.xz"
16 backup=("etc/$_pkgname_short.conf")
17 install=readme.install
18 sha256sums=('3675f7b4af739da193e536421288048dcafce10600e24256821121fe36e3d8d8')
21 cd "$srcdir/$pkgname-$pkgver"
22 install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
23 install -Dm644 $_pkgname_short.conf "$pkgdir/etc/$_pkgname_short.conf"
24 install -Dm755 rc.$_pkgname_short "$pkgdir/etc/rc.d/$_pkgname_short"
25 install -Dm755 $_pkgname_short.cron.hourly "$pkgdir/etc/cron.hourly/$_pkgname_short-update"
27 gzip -9 $_pkgname_short.manpage
28 install -g 0 -o 0 -Dm 0644 $_pkgname_short.manpage.gz "$pkgdir/usr/share/man/man1/$pkgname.1.gz"
29 install -g 0 -o 0 -Dm 0644 $_pkgname_short.manpage.gz "$pkgdir/usr/share/man/man1/$_pkgname_short.1.gz"