Date: Friday, March 25, 2022 @ 23:14:45
  Author: hashworks
Revision: 1176725

archrelease: copy trunk to community-x86_64

Added:
  opensearch-dashboards-index-management-plugin/repos/community-x86_64/PKGBUILD
    (from rev 1176724, 
opensearch-dashboards-index-management-plugin/trunk/PKGBUILD)
Deleted:
  opensearch-dashboards-index-management-plugin/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  108 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 53 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-03-25 23:14:42 UTC (rev 1176724)
+++ PKGBUILD    2022-03-25 23:14:45 UTC (rev 1176725)
@@ -1,55 +0,0 @@
-# Maintainer: Justin Kromlinger <hashwo...@archlinux.org>
-
-pkgname='opensearch-dashboards-index-management-plugin'
-_pluginname='index-management-dashboards-plugin'
-pkgver=1.2.0.0
-_dashboardsver=1.2.0
-pkgrel=1
-pkgdesc='OpenSearch Dashboards Index Management Plugin'
-url='https://opensearch.org/docs/latest/im-plugin/index/'
-arch=('x86_64')
-license=('Apache')
-depends=('opensearch-dashboards')
-makedepends=('yarn' 'python' 'git')
-options=('!strip' 'emptydirs')
-source=(
-  "git+https://github.com/opensearch-project/${_pluginname}.git#tag=${pkgver}";
-  
"git+https://github.com/opensearch-project/OpenSearch-Dashboards.git#tag=${_dashboardsver}";
-)
-sha256sums=(
-  'SKIP'
-  'SKIP'
-)
-
-prepare() {
-  nodeVersion="$(node -v)"
-  # Yes, you support this version. You just don't know it yet.
-  sed -i "s/    \"node\": \"[0-9\.]*\",/    \"node\": \"${nodeVersion:1}\",/" \
-    "${_pluginname}/package.json" \
-    "OpenSearch-Dashboards/package.json"
-}
-
-build() {
-  mv "${_pluginname}" "OpenSearch-Dashboards/plugins"
-  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
-  yarn osd bootstrap
-  yarn plugin-helpers build --skip-archive # `yarn build` will always create 
the ZIP
-}
-
-check() {
-  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
-  yarn test:jest
-}
-
-package() {
-  cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}"
-
-  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
-
-  cp -r "build/opensearch-dashboards/"* 
"${pkgdir}/usr/share/opensearch-dashboards/plugins/"
-
-  find "${pkgdir}/usr/share/opensearch-dashboards/plugins" -type d -empty 
-delete
-}
-
-# vim: ts=2 sw=2 et:

Copied: 
opensearch-dashboards-index-management-plugin/repos/community-x86_64/PKGBUILD 
(from rev 1176724, opensearch-dashboards-index-management-plugin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-03-25 23:14:45 UTC (rev 1176725)
@@ -0,0 +1,53 @@
+# Maintainer: Justin Kromlinger <hashwo...@archlinux.org>
+
+pkgname='opensearch-dashboards-index-management-plugin'
+_pluginname='index-management-dashboards-plugin'
+pkgver=1.3.0.0
+_dashboardsver=1.3.0
+pkgrel=1
+pkgdesc='OpenSearch Dashboards Index Management Plugin'
+url='https://opensearch.org/docs/latest/im-plugin/index/'
+arch=('x86_64')
+license=('Apache')
+depends=("opensearch-dashboards=${_dashboardsver}")
+makedepends=('yarn' 'python' 'git')
+options=('!strip' 'emptydirs')
+source=(
+  "git+https://github.com/opensearch-project/${_pluginname}.git#tag=${pkgver}";
+  
"git+https://github.com/opensearch-project/OpenSearch-Dashboards.git#tag=${_dashboardsver}";
+)
+sha256sums=('SKIP'
+            'SKIP')
+
+prepare() {
+  nodeVersion="$(node -v)"
+  # Yes, you support this version. You just don't know it yet.
+  sed -i "s/    \"node\": \"[0-9\.]*\",/    \"node\": \"${nodeVersion:1}\",/" \
+    "${_pluginname}/package.json" \
+    "OpenSearch-Dashboards/package.json"
+}
+
+build() {
+  mv "${_pluginname}" "OpenSearch-Dashboards/plugins"
+  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
+  yarn osd bootstrap
+  yarn plugin-helpers build --skip-archive # `yarn build` will always create 
the ZIP
+}
+
+check() {
+  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
+  yarn test:jest
+}
+
+package() {
+  cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}"
+
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
+
+  cp -r "build/opensearch-dashboards/"* 
"${pkgdir}/usr/share/opensearch-dashboards/plugins/"
+
+  find "${pkgdir}/usr/share/opensearch-dashboards/plugins" -type d -empty 
-delete
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to