mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
davmail: update to 5.5.1
This commit is contained in:
parent
f94f3c0b88
commit
aa51fa3e1a
1 changed files with 14 additions and 16 deletions
|
@ -1,30 +1,28 @@
|
||||||
# Template file for 'davmail'
|
# Template file for 'davmail'
|
||||||
pkgname=davmail
|
pkgname=davmail
|
||||||
version=5.2.0
|
version=5.5.1
|
||||||
revision=1
|
revision=1
|
||||||
|
_commit=3299
|
||||||
archs="i686 x86_64"
|
archs="i686 x86_64"
|
||||||
|
wrksrc=davmail-src-${version}-${_commit}
|
||||||
hostmakedepends="openjdk8 apache-ant"
|
hostmakedepends="openjdk8 apache-ant"
|
||||||
short_desc="DavMail is a POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway"
|
short_desc="DavMail is a POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway"
|
||||||
maintainer="Anachron <gith@cron.world>"
|
maintainer="Anachron <gith@cron.world>"
|
||||||
license="GPL-2"
|
license="GPL-2.0-only"
|
||||||
homepage="http://davmail.sourceforge.net"
|
homepage="http://davmail.sourceforge.net"
|
||||||
distfiles="https://github.com/mguessan/${pkgname}/archive/${version}.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/davmail/davmail-src-${version}-${_commit}.tgz"
|
||||||
checksum=b42745394dfa19fe48b73cca0f3063aa745750b369a8533c65732de8de11ce93
|
checksum=63e14eeda3fed2a1a5c55f864a8832f8842d597e797ca1e8874c9b66b811f508
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
ant
|
. /etc/profile.d/10_openjdk8.sh
|
||||||
|
. /etc/profile.d/apache-ant.sh
|
||||||
|
|
||||||
|
ant jar
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
_src="dist/${pkgname}-src-${version}-trunk.tgz"
|
vinstall dist/davmail.jar 644 usr/share/davmail
|
||||||
|
vmkdir usr/share/davmail/lib
|
||||||
mkdir -p install
|
vcopy "lib/*" usr/share/davmail/lib
|
||||||
tar -xzf "${_src}" -C install
|
vbin src/bin/davmail
|
||||||
|
|
||||||
find install -type f -name \*.exe -delete
|
|
||||||
vmkdir usr/share/$pkgname
|
|
||||||
mv install/$pkgname-src-${version}-trunk/* "${DESTDIR}"/usr/share/$pkgname
|
|
||||||
|
|
||||||
vmkdir usr/bin
|
|
||||||
ln -s ../share/$pkgname/$pkgname.sh "${DESTDIR}"/usr/bin/$pkgname
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue