# Template file for 'profile-sync-daemon'
pkgname=profile-sync-daemon
version=5.38.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=0a6d4d9990576509649a01536a0259779b3af508b34ed0385b769486988b5717
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
  }
}
