# Template file for 'profile-sync-daemon'
pkgname=profile-sync-daemon
version=5.36.2
revision=1
short_desc="Syncs browser profiles to tmpfs"
maintainer="graysky <graysky AT archlinux DOT us>"
license="MIT"
homepage="https://github.com/graysky2/profile-sync-daemon"
distfiles="http://repo-ck.com/source/$pkgname/$pkgname-$version.tar.xz"
checksum=8a54260d5856bc531a8c8902c816b573300b5147bbf99a8e8388574977cd232c
long_desc="
profile-sync-daemon symlinks and sync browser profiles to RAM (tmpfs) thus
reducing SSD/HDD calls and speeding-up browsers."

do_install() {
  make DESTDIR="$DESTDIR" install-systemd-all
  install -Dm644 MIT "$DESTDIR/usr/share/licenses/$pkgname/LICENSE"
}

profile-sync-daemon_package() {
  noarch="yes"
  conf_files="/etc/psd.conf"
  depends="rsync"
  pkg_install() {
    vmove all
  }
}
