void-packages/srcpkgs/lsyncd/template
maxice8 baaacb347d New package: lsyncd-2.2.2.
Closes: #11474 [via git-merge-pr]
2018-03-18 00:20:23 -07:00

23 lines
686 B
Bash

# 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
}