name : davmail version : 6.3.0 release : 8 source : - https://github.com/mguessan/davmail/archive/refs/tags/6.3.0.tar.gz : 01059e4792fcd4eb9a46e2a27be9b82f037a4c5c93763536ae4958d3e34c6914 homepage : http://davmail.sourceforge.net license : GPL-2.0-or-later component : network.mail summary : DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange and Office 365 Gateway description: | DavMail is a POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange and Office 365 Gateway allowing users to use any mail/calendar client (e.g. Thunderbird with Lightning or Apple iCal) with an Exchange server, even from the internet or behind a firewall through Outlook Web Access. DavMail now includes an LDAP gateway to Exchange global address book and user personal contacts to allow recipient address completion in mail compose window and full calendar support with attendees free/busy display. networking : true builddeps : - apache-ant - openjdk-21 rundeps : - openjfx-21 build : | JAVA_HOME=/usr/lib64/openjdk-21 ant prepare-dist install : | install -dm00644 $installdir/usr/share/davmail/lib install -m00644 dist/lib/* $installdir/usr/share/davmail/lib/ # Exclude (to update this list check build.xml) rm -fv $installdir/usr/share/davmail/lib/{junit,winrun4j}*.jar install -Dm00644 dist/davmail.jar $installdir/usr/share/davmail/ install -Dm00644 dist/davmail.png $installdir/usr/share/icons/hicolor/128x128/apps/davmail.png install -Dm00644 src/desktop//davmail.desktop $installdir/usr/share/applications/davmail.desktop install -Dm00644 src/appstream//org.davmail.DavMail.appdata.xml $installdir/usr/share/metainfo/org.davmail.DavMail.appdata.xml # Systemd install -Dm00644 $pkgfiles/davmail.service $installdir/usr/lib/systemd/system/davmail.service install -Dm00644 $pkgfiles/davmail.tmpfiles $installdir/usr/lib/tmpfiles.d/davmail.conf install -Dm00644 $pkgfiles/davmail.sysusers $installdir/usr/lib/sysusers.d/davmail.conf # Install custom executable file with proper path of execute install -Dm00755 $pkgfiles/davmail $installdir/usr/bin/davmail