New package: lsyncd-2.2.2.

Closes: #11474 [via git-merge-pr]
This commit is contained in:
maxice8 2018-02-08 03:44:18 -02:00 committed by Michael Aldridge
parent 638808b501
commit baaacb347d
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,4 @@
#!/bin/sh
[ -r ./conf ] && . ./conf
exec 1>&2
exec lsyncd "${CONF_FILE:-'/etc/lsyncd/lsyncd.conf.lua'}"

23
srcpkgs/lsyncd/template Normal file
View file

@ -0,0 +1,23 @@
# 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
}