# Template file for 'profile-sync-daemon'
pkgname=profile-sync-daemon
version=5.40.1
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=319e7ced1eccd1d0433a2252b6aa3b5b63db4040a974ff1c6c0dfa5a45d59a99
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
  }
}
