void-packages/srcpkgs/isync/template

27 lines
890 B
Bash

# Template file for 'isync'
pkgname=isync
version=1.5.1
revision=1
build_style=gnu-configure
hostmakedepends="perl pkg-config"
makedepends="openssl-devel libsasl-devel db-devel zlib-devel"
depends="ca-certificates"
checkdepends="perl perl-Clone perl-enum"
short_desc="IMAP and MailDir mailbox synchronizer"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later WITH custom:LicenseRef-isync-GPL-exception"
homepage="http://isync.sourceforge.net/"
changelog="https://sourceforge.net/p/isync/isync/ci/master/tree/NEWS?format=raw"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=28cc90288036aa5b6f5307bfc7178a397799003b96f7fd6e4bd2478265bb22fa
do_check() {
make check
cd src && perl ./run-tests.pl
}
post_install() {
vsconf src/mbsyncrc.sample
rm -rf ${DESTDIR}/usr/share/doc/isync
vlicense LICENSES/LicenseRef-isync-GPL-exception.txt
}