[arch-commits] Commit in opensearch-observability-plugin/repos (2 files)
Leonidas Spyropoulos
artafinde at gemini.archlinux.org
Wed Jan 19 01:50:51 UTC 2022
Date: Wednesday, January 19, 2022 @ 01:50:51
Author: artafinde
Revision: 1110271
archrelease: copy trunk to community-testing-x86_64
Added:
opensearch-observability-plugin/repos/community-testing-x86_64/
opensearch-observability-plugin/repos/community-testing-x86_64/PKGBUILD
(from rev 1110270, opensearch-observability-plugin/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: opensearch-observability-plugin/repos/community-testing-x86_64/PKGBUILD (from rev 1110270, opensearch-observability-plugin/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2022-01-19 01:50:51 UTC (rev 1110271)
@@ -0,0 +1,32 @@
+# Maintainer: Justin Kromlinger <hashworks at archlinux.org>
+
+pkgname=opensearch-observability-plugin
+pkgver=1.2.4.0
+_opensearchver=1.2.4
+pkgrel=1
+pkgdesc="OpenSearch Observability Plugin"
+arch=('x86_64')
+url="https://github.com/opensearch-project/observability"
+license=('Apache')
+depends=('opensearch')
+makedepends=('java-environment=11' 'unzip')
+source=(
+ "${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/observability/archive/${pkgver}.tar.gz"
+)
+sha256sums=('8dc0c09179f1d494200d08c108af561bf1f7d4cc859848ab8d14fa66e218bc71')
+
+build() {
+ cd "observability-${pkgver}/opensearch-observability"
+ export PATH=/usr/lib/jvm/default/bin:$PATH
+ export GRADLE_OPTS="-Dbuild.snapshot=false -Dopensearch.version=${_opensearchver}"
+ ./gradlew assemble \
+ --exclude-task ":jacocoTestReport"
+}
+
+package() {
+ install -dm755 "${pkgdir}/usr/share/opensearch/plugins/opensearch-observability"
+ cd "${pkgdir}/usr/share/opensearch/plugins/opensearch-observability"
+ unzip "${srcdir}/observability-${pkgver}/opensearch-observability/build/distributions/opensearch-observability-${pkgver}.zip"
+
+ install -Dm644 "${srcdir}/observability-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list