[arch-commits] Commit in java-gnumail/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sat May 16 13:24:39 UTC 2020


    Date: Saturday, May 16, 2020 @ 13:24:39
  Author: foutrelis
Revision: 384613

archrelease: copy trunk to staging-any

Added:
  java-gnumail/repos/staging-any/
  java-gnumail/repos/staging-any/PKGBUILD
    (from rev 384612, java-gnumail/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: java-gnumail/repos/staging-any/PKGBUILD (from rev 384612, java-gnumail/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-16 13:24:39 UTC (rev 384613)
@@ -0,0 +1,33 @@
+# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
+_libname=gnumail
+pkgname=java-${_libname}
+pkgver=1.1.2
+pkgrel=4
+pkgdesc="GNU implementation of the JavaMail API specification, version 1.3"
+arch=('any')
+url="https://www.gnu.org/s/classpathx/javamail/javamail.html"
+license=('GPL')
+depends=('java-runtime-headless')
+makedepends=('apache-ant' 'java-activation-gnu' 'java-inetlib')
+source=(https://ftp.gnu.org/gnu/classpathx/mail-${pkgver}.tar.gz{,.sig})
+sha512sums=('e6ce18a9310f1d89b971bd0403fa6ba1e88f3c8f605a7d093732134b63f98cfd61346b5ccb4aeaa0e9a852919de96733dc0e8a7dd5f652c4105c194c8ca80e46'
+            'SKIP')
+validpgpkeys=('2875BCCCAE65860C6087CA8FE9D9750C4A8782B8') # Chris Burdess <dog at bluezoo.org>
+
+build() {
+  cd "${srcdir}/mail-${pkgver}"
+
+  ant \
+    -lib /usr/share/java/inetlib.jar \
+    dist
+}
+
+package() {
+  cd "${srcdir}/mail-${pkgver}"
+
+  install -dm755 ${pkgdir}/usr/share/java/${_libname}
+  for j in gnumail gnumail-providers; do
+    install -m644 ${j}.jar ${pkgdir}/usr/share/java/${_libname}/${j}-${pkgver}.jar
+    ln -s ${_libname}/${j}-${pkgver}.jar ${pkgdir}/usr/share/java/${j}.jar
+  done
+}


More information about the arch-commits mailing list