[arch-commits] Commit in bcprov/repos/extra-any (LICENSE.html PKGBUILD PKGBUILD)

Jan de Groot jgc at archlinux.org
Sat Feb 18 12:02:15 UTC 2017


    Date: Saturday, February 18, 2017 @ 12:02:15
  Author: jgc
Revision: 289162

archrelease: copy trunk to extra-any

Added:
  bcprov/repos/extra-any/LICENSE.html
    (from rev 289161, bcprov/trunk/LICENSE.html)
  bcprov/repos/extra-any/PKGBUILD
    (from rev 289161, bcprov/trunk/PKGBUILD)
Deleted:
  bcprov/repos/extra-any/PKGBUILD

--------------+
 LICENSE.html |   22 +++++++++++++++++++
 PKGBUILD     |   65 +++++++++++++++++++++------------------------------------
 2 files changed, 46 insertions(+), 41 deletions(-)

Copied: bcprov/repos/extra-any/LICENSE.html (from rev 289161, bcprov/trunk/LICENSE.html)
===================================================================
--- LICENSE.html	                        (rev 0)
+++ LICENSE.html	2017-02-18 12:02:15 UTC (rev 289162)
@@ -0,0 +1,22 @@
+<html>
+<body bgcolor=#ffffff>
+
+Copyright (c) 2000-2016 The Legion of the Bouncy Castle Inc. (http://www.bouncycastle.org)
+<p>
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software 
+and associated documentation files (the "Software"), to deal in the Software without restriction, 
+including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, 
+and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+<p>
+The above copyright notice and this permission notice shall be included in all copies or substantial
+portions of the Software.
+<p>
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
+PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
+</body>
+</html>

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-02-18 12:02:09 UTC (rev 289161)
+++ PKGBUILD	2017-02-18 12:02:15 UTC (rev 289162)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=bcprov
-pkgver=1.54
-pkgrel=1
-pkgdesc="Java cryptography APIs (Bouncy Castle)"
-arch=('any')
-url="http://www.bouncycastle.org/java.html"
-license=('custom')
-depends=('java-runtime')
-makedepends=('java-environment' 'junit')
-source=("http://www.bouncycastle.org/download/bcprov-jdk15on-${pkgver/./}.tar.gz")
-md5sums=('d6a3133f766361549b972ee36259029a')
-
-build() {
-  cd "${srcdir}/bcprov-jdk15on-${pkgver/./}"
-  jar xf src.zip
-
-  mkdir classes
-  find . -name '*.java' > src.list
-
-  # Remove test classes as they are broken for 1.52
-  sed -i '/\/test\//d' src.list
-
-  javac -source 1.6 -target 1.6 -encoding UTF-8 -cp /usr/share/java/junit.jar -d classes @src.list
-
-  cd classes
-  find . -path '*test/*.class' -delete
-  find . -depth -type d -empty -delete
-  install -m644 ../org/bouncycastle/x509/*.properties org/bouncycastle/x509/
-  jar cf ../bcprov.jar *
-}
-
-package() {
-  cd "${srcdir}/bcprov-jdk15on-${pkgver/./}"
-  install -m755 -d "${pkgdir}/usr/share/java"
-  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -m644 bcprov.jar "${pkgdir}/usr/share/java/"
-  install -m644 LICENSE.html "${pkgdir}/usr/share/licenses/${pkgname}/"
-}

Copied: bcprov/repos/extra-any/PKGBUILD (from rev 289161, bcprov/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-02-18 12:02:15 UTC (rev 289162)
@@ -0,0 +1,24 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=bcprov
+pkgver=1.56
+pkgrel=1
+pkgdesc="Java cryptography APIs (Bouncy Castle)"
+arch=('any')
+url="https://www.bouncycastle.org/java.html"
+license=('custom')
+source=(https://www.bouncycastle.org/download/bcprov-jdk15on-${pkgver/./}.jar
+        LICENSE.html)
+noextract=(bcprov-jdk15on-${pkgver/./}.jar)
+sha256sums=('963e1ee14f808ffb99897d848ddcdb28fa91ddda867eb18d303e82728f878349'
+            'e9bb81d9c9486a5de0d1facd674e761b46cc421ddd31bbd2b100871a8bea2ed6')
+
+package() {
+  depends=('java-runtime')
+  cd "${srcdir}"
+  install -m755 -d "${pkgdir}/usr/share/java"
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 bcprov-jdk15on-${pkgver/./}.jar "${pkgdir}/usr/share/java/bcprov.jar"
+  install -m644 LICENSE.html "${pkgdir}/usr/share/licenses/${pkgname}/"
+}



More information about the arch-commits mailing list