Date: Friday, December 31, 2021 @ 15:40:22
  Author: hashworks
Revision: 1090402

Initial commit

Added:
  opensearch-asynchronous-search-plugin/
  opensearch-asynchronous-search-plugin/repos/
  opensearch-asynchronous-search-plugin/trunk/
  opensearch-asynchronous-search-plugin/trunk/PKGBUILD

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

Added: opensearch-asynchronous-search-plugin/trunk/PKGBUILD
===================================================================
--- opensearch-asynchronous-search-plugin/trunk/PKGBUILD                        
        (rev 0)
+++ opensearch-asynchronous-search-plugin/trunk/PKGBUILD        2021-12-31 
15:40:22 UTC (rev 1090402)
@@ -0,0 +1,33 @@
+# Maintainer: Justin Kromlinger <[email protected]>
+
+pkgname=opensearch-asynchronous-search-plugin
+pkgver=1.2.0.0
+pkgrel=1
+pkgdesc="OpenSearch Asynchronous Search Plugin"
+arch=('x86_64')
+url="https://opensearch.org/docs/latest/search-plugins/async";
+license=('Apache')
+depends=('opensearch')
+makedepends=('java-environment=11' 'unzip')
+source=(
+  
"${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/asynchronous-search/archive/${pkgver}.tar.gz";
+)
+sha256sums=('cafc8dbb74eb712d59b3c6b3052b03d5dcb5c9e31bfcde1a4ef9c75c34081fb6')
+
+build() {
+  cd "asynchronous-search-${pkgver}"
+  export PATH=/usr/lib/jvm/default/bin:$PATH
+  export GRADLE_OPTS="-Dbuild.snapshot=false"
+  # integTest (Reaper) requires JDK 14
+  ./gradlew assemble \
+    --exclude-task ":integTest" \
+    --exclude-task ":jacocoTestReport"
+}
+
+package() {
+  install -dm755 
"${pkgdir}/usr/share/opensearch/plugins/opensearch-asynchronous-search"
+  cd "${pkgdir}/usr/share/opensearch/plugins/opensearch-asynchronous-search"
+  unzip 
"${srcdir}/asynchronous-search-${pkgver}/build/distributions/opensearch-asynchronous-search-${pkgver}.zip"
+
+  install -Dm644 "${srcdir}/asynchronous-search-${pkgver}/LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Reply via email to