[arch-commits] Commit in opensearch-knn-plugin/trunk (PKGBUILD)

Justin Kromlinger hashworks at gemini.archlinux.org
Fri Mar 25 19:58:16 UTC 2022


    Date: Friday, March 25, 2022 @ 19:58:15
  Author: hashworks
Revision: 1176631

upgpkg: opensearch-knn-plugin 1.3.0.0-1

Modified:
  opensearch-knn-plugin/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-25 19:58:13 UTC (rev 1176630)
+++ PKGBUILD	2022-03-25 19:58:15 UTC (rev 1176631)
@@ -1,23 +1,25 @@
 # Maintainer: Justin Kromlinger <hashworks at archlinux.org>
 
 pkgname=opensearch-knn-plugin
-pkgver=1.2.4.0
-_opensearchver=1.2.4
+pkgver=1.3.0.0
 pkgrel=1
+_opensearchver=1.3.0
+_jdkver=11
 pkgdesc="OpenSearch Index Management Plugin"
-arch=('x86_64')
+arch=('any')
 url="https://opensearch.org/docs/latest/search-plugins/knn"
 license=('Apache')
-depends=('opensearch')
-makedepends=('java-environment=11' 'unzip')
+depends=("opensearch=${_opensearchver}")
+makedepends=("java-environment=${_jdkver}" 'unzip')
 source=(
   "${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/k-NN/archive/${pkgver}.tar.gz"
 )
-sha256sums=('a992ea9c0667cb42e102f8036a5ddd0d1cc72bca45ee2f4f221ab8f6aebc9af6')
+sha256sums=('9f734e77566331e7a8613a4d47e090be0b0e197dd7b20b72c2a949557024a300')
 
 build() {
   cd "k-NN-${pkgver}"
-  export PATH=/usr/lib/jvm/default/bin:$PATH
+  export JAVA_HOME="/usr/lib/jvm/java-${_jdkver}-openjdk"
+  export PATH="/usr/lib/jvm/java-${_jdkver}-openjdk/bin:$PATH"
   export GRADLE_OPTS="-Dbuild.snapshot=false -Dopensearch.version=${_opensearchver}"
   # integTest (Reaper) requires JDK 14
   ./gradlew assemble \



More information about the arch-commits mailing list