void-packages/srcpkgs/lsyncd/template

24 lines
692 B
Bash

# Template file for 'lsyncd'
pkgname=lsyncd
version=2.2.3
revision=3
wrksrc="${pkgname}-release-${version}"
build_style=cmake
hostmakedepends="asciidoc lua53"
makedepends="lua53-devel"
depends="rsync"
short_desc="Syncing Daemon that synchronizes local directories with remote targets"
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/axkibe/lsyncd"
distfiles="https://github.com/axkibe/lsyncd/archive/release-${version}.tar.gz"
checksum=7bcd0f4ae126040bb078c482ff856c87e61c22472c23fa3071798dcb1dc388dd
post_install() {
vman doc/manpage/lsyncd.1
# Manpages are installed on the wrong path
rm -rf "${DESTDIR}"/usr/man
vsv lsyncd
}