35 lines
900 B
Bash
35 lines
900 B
Bash
# Template file for 'davmail'
|
|
pkgname=davmail
|
|
version=6.0.1
|
|
revision=1
|
|
_commit=3390
|
|
hostmakedepends="openjdk8 apache-ant"
|
|
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=ce3b33cd187787a30ccc136e75f1cdf197b0a2874c20ab3f3ea3e426b32b9ab1
|
|
|
|
do_build() {
|
|
. /etc/profile.d/openjdk.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
|
|
}
|
|
|
|
post_install() {
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64) return 0 ;;
|
|
esac
|
|
rm -f ${DESTDIR}/usr/share/davmail/lib/swt-*
|
|
}
|