36 lines
942 B
Bash
36 lines
942 B
Bash
# Template file for 'davmail'
|
|
pkgname=davmail
|
|
version=6.1.0
|
|
revision=1
|
|
_commit=3423
|
|
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=08e7103d14e9f05ec269caceef7585dcf8be202a35c471fa6fc12729cf99ef2f
|
|
|
|
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
|
|
}
|