Github messages for voidlinux
 help / color / mirror / Atom feed
From: renatoaguiar <renatoaguiar@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] davmail: update to 5.5.1
Date: Fri, 15 May 2020 05:12:50 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21978@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 319 bytes --]

There is a new pull request by renatoaguiar against master on the void-packages repository

https://github.com/renatoaguiar/void-packages davmail
https://github.com/void-linux/void-packages/pull/21978

davmail: update to 5.5.1


A patch file from https://github.com/void-linux/void-packages/pull/21978.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-davmail-21978.patch --]
[-- Type: text/x-diff, Size: 1823 bytes --]

From 1fad06779c99c87dd0ad9edceb0b21835bfe1bae Mon Sep 17 00:00:00 2001
From: Renato Aguiar <renato@renatoaguiar.net>
Date: Thu, 14 May 2020 20:12:10 -0700
Subject: [PATCH] davmail: update to 5.5.1

---
 srcpkgs/davmail/template | 30 ++++++++++++++----------------
 1 file changed, 14 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/davmail/template b/srcpkgs/davmail/template
index 41d7b204a4d..0493a8a5688 100644
--- a/srcpkgs/davmail/template
+++ b/srcpkgs/davmail/template
@@ -1,30 +1,28 @@
 # Template file for 'davmail'
 pkgname=davmail
-version=5.2.0
+version=5.5.1
 revision=1
+_commit=3299
 archs="i686 x86_64"
+wrksrc=davmail-src-${version}-${_commit}
 hostmakedepends="openjdk8 apache-ant"
 short_desc="DavMail is a POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway"
 maintainer="Anachron <gith@cron.world>"
-license="GPL-2"
+license="GPL-2.0-only"
 homepage="http://davmail.sourceforge.net"
-distfiles="https://github.com/mguessan/${pkgname}/archive/${version}.tar.gz"
-checksum=b42745394dfa19fe48b73cca0f3063aa745750b369a8533c65732de8de11ce93
+distfiles="${SOURCEFORGE_SITE}/davmail/davmail-src-${version}-${_commit}.tgz"
+checksum=63e14eeda3fed2a1a5c55f864a8832f8842d597e797ca1e8874c9b66b811f508
 
 do_build() {
-	ant
+	. /etc/profile.d/10_openjdk8.sh
+	. /etc/profile.d/apache-ant.sh
+
+	ant jar
 }
 
 do_install() {
-	_src="dist/${pkgname}-src-${version}-trunk.tgz"
-
-	mkdir -p install
-	tar -xzf "${_src}" -C install
-
-	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
+	vinstall dist/davmail.jar 644 usr/share/davmail
+	vmkdir usr/share/davmail/lib
+	vcopy "lib/*" usr/share/davmail/lib
+	vbin src/bin/davmail
 }

             reply	other threads:[~2020-05-15  3:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-15  3:12 renatoaguiar [this message]
2020-05-20 19:54 ` [PR PATCH] [Merged]: " Hoshpak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21978@inbox.vuxu.org \
    --to=renatoaguiar@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).