[arch-commits] Commit in java-hamcrest/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Sat May 16 09:19:42 UTC 2020
Date: Saturday, May 16, 2020 @ 09:19:41
Author: felixonmars
Revision: 383830
archrelease: copy trunk to staging-any
Added:
java-hamcrest/repos/staging-any/
java-hamcrest/repos/staging-any/LICENSE.txt
(from rev 383829, java-hamcrest/trunk/LICENSE.txt)
java-hamcrest/repos/staging-any/PKGBUILD
(from rev 383829, java-hamcrest/trunk/PKGBUILD)
-------------+
LICENSE.txt | 27 +++++++++++++++++++++++++++
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 65 insertions(+)
Copied: java-hamcrest/repos/staging-any/LICENSE.txt (from rev 383829, java-hamcrest/trunk/LICENSE.txt)
===================================================================
--- staging-any/LICENSE.txt (rev 0)
+++ staging-any/LICENSE.txt 2020-05-16 09:19:41 UTC (rev 383830)
@@ -0,0 +1,27 @@
+BSD License
+
+Copyright (c) 2000-2006, www.hamcrest.org
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice, this list of
+conditions and the following disclaimer. Redistributions in binary form must reproduce
+the above copyright notice, this list of conditions and the following disclaimer in
+the documentation and/or other materials provided with the distribution.
+
+Neither the name of Hamcrest nor the names of its contributors may be used to endorse
+or promote products derived from this software without specific prior written
+permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
+SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
+WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGE.
Copied: java-hamcrest/repos/staging-any/PKGBUILD (from rev 383829, java-hamcrest/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2020-05-16 09:19:41 UTC (rev 383830)
@@ -0,0 +1,38 @@
+# Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
+_libname=hamcrest
+pkgname=java-${_libname}
+pkgver=1.3
+pkgrel=5
+pkgdesc='Java matcher objects library'
+arch=('any')
+url='https://code.google.com/p/hamcrest'
+license=('BSD')
+depends=('java-runtime-headless')
+_url='https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/hamcrest'
+source=(${_url}/${_libname}-core-${pkgver}.jar
+ ${_url}/${_libname}-library-${pkgver}.jar
+ ${_url}/${_libname}-generator-${pkgver}.jar
+ ${_url}/${_libname}-integration-${pkgver}.jar
+ LICENSE.txt)
+noextract=(${_libname}-core-${pkgver}.jar
+ ${_libname}-library-${pkgver}.jar
+ ${_libname}-generator-${pkgver}.jar
+ ${_libname}-integration-${pkgver}.jar)
+sha256sums=('66fdef91e9739348df7a096aa384a5685f4e875584cce89386a7a47251c4d8e9'
+ '711d64522f9ec410983bd310934296da134be4254a125080a0416ec178dfad1c'
+ '84c810cafabd046d0e5599f9b5fc1514b2a6ce45313997e020a47076ba27d035'
+ '70f418efbb506c5155da5f9a5a33262ea08a9e4d7fea186aa9015c41a7224ac2'
+ '1cde867cab5c8e842929da5391cef98b4017314822270e934e8e2eef3767c666')
+
+package() {
+ cd "${srcdir}"
+
+ install -dm755 ${pkgdir}/usr/share/java/${_libname}
+ for j in core library generator integration; do
+ cp ${_libname}-${j}-${pkgver}.jar ${pkgdir}/usr/share/java/${_libname}/${j}-${pkgver}.jar
+ ln -s ${j}-${pkgver}.jar ${pkgdir}/usr/share/java/${_libname}/${j}.jar
+ ln -s ${_libname}/${j}-${pkgver}.jar ${pkgdir}/usr/share/java/${_libname}-${j}.jar
+ done
+
+ install -Dm644 LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list