diff --git a/srcpkgs/profile-sync-daemon/template b/srcpkgs/profile-sync-daemon/template index b266a84c6a..4ce425c65d 100644 --- a/srcpkgs/profile-sync-daemon/template +++ b/srcpkgs/profile-sync-daemon/template @@ -1,9 +1,8 @@ # Template file for 'profile-sync-daemon' pkgname=profile-sync-daemon version=5.71 -revision=1 -noarch="yes" -conf_files="/etc/psd.conf" +revision=2 +noarch=yes depends="rsync" short_desc="Syncs browser profiles to tmpfs" maintainer="graysky " @@ -12,13 +11,10 @@ homepage="https://github.com/graysky2/profile-sync-daemon" distfiles="http://repo-ck.com/source/$pkgname/$pkgname-$version.tar.xz" checksum=93cefff1c4e995a781ea72aacc874b0db3e8442b3d1ef634c157ffb5a222a5f7 build_options="systemd" -build_style="gnu-makefile" -make_install_target=$(vopt_if systemd 'install-systemd-all' 'install-bin install-man') -do_build() { - : -} - -post_install() { - [ "$build_option_systemd" ] || vsv psd +do_install() { + make PREFIX=/usr DESTDIR=${DESTDIR} $(vopt_if systemd 'install-systemd-all' 'install-bin install-man') + if [ -z "$build_option_systemd" ]; then + vsv psd + fi }