[arch-commits] Commit in opensearch-anomaly-detection-plugin/trunk (PKGBUILD)
Justin Kromlinger
hashworks at gemini.archlinux.org
Fri Mar 25 19:48:43 UTC 2022
Date: Friday, March 25, 2022 @ 19:48:43
Author: hashworks
Revision: 1176612
upgpkg: opensearch-anomaly-detection-plugin 1.3.0.0-1
Modified:
opensearch-anomaly-detection-plugin/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-25 19:47:29 UTC (rev 1176611)
+++ PKGBUILD 2022-03-25 19:48:43 UTC (rev 1176612)
@@ -1,23 +1,25 @@
# Maintainer: Justin Kromlinger <hashworks at archlinux.org>
pkgname=opensearch-anomaly-detection-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 Anomaly Detection Plugin"
-arch=('x86_64')
+arch=('any')
url="https://opensearch.org/docs/latest/monitoring-plugins/ad"
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/anomaly-detection/archive/${pkgver}.tar.gz"
)
-sha256sums=('127635819c01198fdcdae8589a79f371e2d7c1f08a3081ef48664fdb23665285')
+sha256sums=('4fc7e3800cddad8777557095b15800533155652c530df1e2542212485458e404')
build() {
cd "anomaly-detection-${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