36 lines
942 B
Bash
36 lines
942 B
Bash
# Template file for 'davmail'
|
|
pkgname=davmail
|
|
version=6.2.2
|
|
revision=1
|
|
_commit=3546
|
|
hostmakedepends="openjdk8 apache-ant"
|
|
depends="virtual?java-runtime"
|
|
short_desc="POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway"
|
|
maintainer="Anachron <gith@cron.world>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://davmail.sourceforge.net"
|
|
changelog="https://raw.githubusercontent.com/mguessan/davmail/master/RELEASE-NOTES.md"
|
|
distfiles="${SOURCEFORGE_SITE}/davmail/davmail-src-${version}-${_commit}.tgz"
|
|
checksum=5da4ad73d378fb70ab73a0f262ba359311c244eb618a904e6887c3805f438e3d
|
|
|
|
do_build() {
|
|
. /etc/profile.d/jdk.sh
|
|
. /etc/profile.d/apache-ant.sh
|
|
|
|
ant jar
|
|
}
|
|
|
|
do_install() {
|
|
vinstall dist/davmail.jar 644 usr/share/davmail
|
|
vmkdir usr/share/davmail/lib
|
|
vcopy "lib/*" usr/share/davmail/lib
|
|
vbin src/bin/davmail
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64) ;;
|
|
*) rm -f ${DESTDIR}/usr/share/davmail/lib/swt-* ;;
|
|
esac
|
|
|
|
vsconf src/etc/davmail.properties
|
|
}
|