void-packages/srcpkgs/lsyncd/template

24 lines
686 B
Bash
Raw Normal View History

# Template file for 'lsyncd'
pkgname=lsyncd
version=2.2.2
revision=1
wrksrc="${pkgname}-release-${version}"
build_style=cmake
hostmakedepends="asciidoc lua"
makedepends="lua-devel"
depends="rsync"
short_desc="Syncing Daemon that synchronizes local directories with remote targets"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/axkibe/lsyncd"
distfiles="https://github.com/axkibe/lsyncd/archive/release-${version}.tar.gz"
checksum=0bdb12f40f1a52ed2d8e6cb47242d296663a42b30f38d2b8efcb66b43129e009
post_install() {
vman doc/manpage/lsyncd.1
# Manpages are installed on the wrong path
rm -rf "${DESTDIR}"/usr/man
vsv lsyncd
}