[arch-commits] Commit in openapi-generator/repos/community-any (4 files)

David Runge dvzrv at archlinux.org
Sat Feb 6 23:01:17 UTC 2021


    Date: Saturday, February 6, 2021 @ 23:01:17
  Author: dvzrv
Revision: 847517

archrelease: copy trunk to community-any

Added:
  openapi-generator/repos/community-any/PKGBUILD
    (from rev 847516, openapi-generator/trunk/PKGBUILD)
  openapi-generator/repos/community-any/openapi-generator.sh
    (from rev 847516, openapi-generator/trunk/openapi-generator.sh)
Deleted:
  openapi-generator/repos/community-any/PKGBUILD
  openapi-generator/repos/community-any/openapi-generator.sh

----------------------+
 PKGBUILD             |   82 ++++++++++++++++++++++++-------------------------
 openapi-generator.sh |    8 ++--
 2 files changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-06 23:01:09 UTC (rev 847516)
+++ PKGBUILD	2021-02-06 23:01:17 UTC (rev 847517)
@@ -1,41 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=openapi-generator
-pkgver=5.0.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=('35a1178bf4bc07203d6d5dd15e409b1f175c16e99102ae747ac0733296b176acc864678cd9f44844c9b6be9c382e39b7af819bbbec6e5bdc4e71920c2bd4ee30'
-            '0b81955e2da12182b70366c4d8ff48d970a0edee6242a13dc657879b2e1c15205a2bfa01cbef51dd86d90e1176569a211b704d30d19b529e15ead825a89a4e9c')
-b2sums=('6573d85501f9438e6a6df2b8601506f2ae669f29f0c5b534040e20e3bee221a980bfd89c2407c053fd74c9a9643c4002fa94491c1bbf94b3b33f849e143a2440'
-        '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 847516, openapi-generator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-06 23:01:17 UTC (rev 847517)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=openapi-generator
+pkgver=5.0.1
+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=('eadfd843595f636151af09272247a0f678615e170c3c5192cbb5ec1bf4c0f68dd3f69a9b1259377af9563a6da22795a22122e3a1b70602964bc77031c97e7163'
+            '0b81955e2da12182b70366c4d8ff48d970a0edee6242a13dc657879b2e1c15205a2bfa01cbef51dd86d90e1176569a211b704d30d19b529e15ead825a89a4e9c')
+b2sums=('4216de6321b8ad64a2456fc9e76457df2c5570f970ae8bbac722d3555e6197000f85150cadf90984da86035b17824ff929d48bf1ed9d361a573776e21b308a49'
+        '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"
+}

Deleted: openapi-generator.sh
===================================================================
--- openapi-generator.sh	2021-02-06 23:01:09 UTC (rev 847516)
+++ openapi-generator.sh	2021-02-06 23:01:17 UTC (rev 847517)
@@ -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 847516, openapi-generator/trunk/openapi-generator.sh)
===================================================================
--- openapi-generator.sh	                        (rev 0)
+++ openapi-generator.sh	2021-02-06 23:01:17 UTC (rev 847517)
@@ -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