[arch-commits] Commit in openapi-generator/repos/community-any (4 files)
David Runge
dvzrv at gemini.archlinux.org
Fri Nov 19 23:34:40 UTC 2021
Date: Friday, November 19, 2021 @ 23:34:39
Author: dvzrv
Revision: 1052812
archrelease: copy trunk to community-any
Added:
openapi-generator/repos/community-any/PKGBUILD
(from rev 1052811, openapi-generator/trunk/PKGBUILD)
openapi-generator/repos/community-any/openapi-generator.sh
(from rev 1052811, openapi-generator/trunk/openapi-generator.sh)
Deleted:
openapi-generator/repos/community-any/PKGBUILD
openapi-generator/repos/community-any/openapi-generator.sh
----------------------+
PKGBUILD | 75 ++++++++++++++++++++++---------------------------
openapi-generator.sh | 8 ++---
2 files changed, 38 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-19 23:34:31 UTC (rev 1052811)
+++ PKGBUILD 2021-11-19 23:34:39 UTC (rev 1052812)
@@ -1,41 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=openapi-generator
-pkgver=5.2.0
-pkgrel=1
-pkgdesc="Generation of API client libraries, server stubs, documentation and configuration"
-arch=('any')
-url="https://github.com/openapitools/openapi-generator/"
-license=('Apache')
-depends=('bash' 'java-runtime=8')
-makedepends=('maven' 'java-environment=8' 'strip-nondeterminism')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenAPITools/${pkgname}/archive/v${pkgver}.tar.gz"
- "${pkgname}.sh")
-sha512sums=('7b4c53e6e392a913228a5d2aec1ab197fb3f4973fc77c1663409fbec0711ca08393f974a7294c1b5c3bbb389b85d518530ea767231a9171e685bcf7c516694ec'
- '0b81955e2da12182b70366c4d8ff48d970a0edee6242a13dc657879b2e1c15205a2bfa01cbef51dd86d90e1176569a211b704d30d19b529e15ead825a89a4e9c')
-b2sums=('2aee9825b11786b9a3a1371bc0e52d6b1194e5d560fe0c84fb6e499e92a633d4e6b4c14bbfab7aed87fe223076b6fd7eba35abba60c0b2e074bd6ba2f8935393'
- 'd2f38df8fd23a32e95e9e09624283ca4927dce8cf6dbdbfc11547396ae2bd9c6c1ff65082447f1e30caba3654fd6e50558272d524242ca6727df7024729a1123')
-
-build() {
- cd "$pkgname-$pkgver"
- mvn clean install
- # Timestamps in JAR files generated by Maven do not honour SOURCE_DATE_EPOCH
- # (https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=74682318)
- strip-nondeterminism --timestamp "$SOURCE_DATE_EPOCH" \
- modules/openapi-generator/target/openapi-generator-${pkgver}.jar \
- modules/openapi-generator-cli/target/openapi-generator-cli.jar \
- modules/openapi-generator-core/target/openapi-generator-core-${pkgver}.jar \
- modules/openapi-generator-maven-plugin/target/openapi-generator-maven-plugin-${pkgver}.jar \
- modules/openapi-generator-online/target/openapi-generator-online.jar
-
-}
-
-package() {
- cd "$pkgname-$pkgver"
- install -vDm 644 modules/openapi-generator-cli/target/openapi-generator-cli.jar \
- -t "${pkgdir}/usr/share/java/${pkgname}/"
- install -vDm 755 "../${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
- ln -svf "${pkgname}" "${pkgdir}/usr/bin/${pkgname}-cli"
- install -vDm 644 scripts/openapi-generator-cli-completion.bash \
- "${pkgdir}/usr/share/bash/bash-completion/completions/openapi-generator"
-}
Copied: openapi-generator/repos/community-any/PKGBUILD (from rev 1052811, openapi-generator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-19 23:34:39 UTC (rev 1052812)
@@ -0,0 +1,34 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=openapi-generator
+pkgver=5.3.0
+pkgrel=1
+pkgdesc="Generation of API client libraries, server stubs, documentation and configuration"
+arch=(any)
+url="https://github.com/openapitools/openapi-generator/"
+license=(Apache)
+depends=(bash java-runtime=8)
+makedepends=(maven 'java-environment=8' strip-nondeterminism)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenAPITools/${pkgname}/archive/v${pkgver}.tar.gz"
+ "${pkgname}.sh")
+sha512sums=('a533417b9d3982adbce7e36f36601b223ce13ee88582eafc567c40002177e1bcac4952f0bdd1c7149e5f4d8ee5c823cc58ac591485084f8a995b9a00d1bb8c97'
+ '0b81955e2da12182b70366c4d8ff48d970a0edee6242a13dc657879b2e1c15205a2bfa01cbef51dd86d90e1176569a211b704d30d19b529e15ead825a89a4e9c')
+b2sums=('2c715c57521ef6cc1ce808a0fae66397c998f1c28c3f0fb9b17ca0e769f8e2e2e20475e29e87d34ed6189d0338ca8642cb6deddb2981a55b6d9adb3fc06610b7'
+ 'd2f38df8fd23a32e95e9e09624283ca4927dce8cf6dbdbfc11547396ae2bd9c6c1ff65082447f1e30caba3654fd6e50558272d524242ca6727df7024729a1123')
+
+build() {
+ cd "$pkgname-$pkgver"
+ mvn clean install
+ # Timestamps in JAR files generated by Maven do not honour SOURCE_DATE_EPOCH
+ # (https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=74682318)
+ find . -type f -iname "*.jar" -exec strip-nondeterminism --timestamp "$SOURCE_DATE_EPOCH" {} \;
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -vDm 644 modules/openapi-generator-cli/target/openapi-generator-cli.jar -t "${pkgdir}/usr/share/java/${pkgname}/"
+ install -vDm 755 "../${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
+ ln -svf "${pkgname}" "${pkgdir}/usr/bin/${pkgname}-cli"
+ install -vDm 644 scripts/openapi-generator-cli-completion.bash \
+ "${pkgdir}/usr/share/bash/bash-completion/completions/openapi-generator"
+}
Deleted: openapi-generator.sh
===================================================================
--- openapi-generator.sh 2021-11-19 23:34:31 UTC (rev 1052811)
+++ openapi-generator.sh 2021-11-19 23:34:39 UTC (rev 1052812)
@@ -1,4 +0,0 @@
-#!/usr/bin/env sh
-
-PATH="/usr/lib/jvm/java-8-openjdk/bin:${PATH}"
-java -jar /usr/share/java/openapi-generator/openapi-generator-cli.jar "$@"
Copied: openapi-generator/repos/community-any/openapi-generator.sh (from rev 1052811, openapi-generator/trunk/openapi-generator.sh)
===================================================================
--- openapi-generator.sh (rev 0)
+++ openapi-generator.sh 2021-11-19 23:34:39 UTC (rev 1052812)
@@ -0,0 +1,4 @@
+#!/usr/bin/env sh
+
+PATH="/usr/lib/jvm/java-8-openjdk/bin:${PATH}"
+java -jar /usr/share/java/openapi-generator/openapi-generator-cli.jar "$@"
More information about the arch-commits
mailing list