Date: Wednesday, February 1, 2023 @ 18:31:25
  Author: hashworks
Revision: 1391821

upgpkg: opensearch-dashboards-maps-plugin 2.5.0.0-1

Modified:
  opensearch-dashboards-maps-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-01 18:31:17 UTC (rev 1391820)
+++ PKGBUILD    2023-02-01 18:31:25 UTC (rev 1391821)
@@ -2,8 +2,8 @@
 
 pkgname='opensearch-dashboards-maps-plugin'
 _pluginname='dashboards-maps'
-pkgver=2.4.1.0
-_dashboardsver=2.4.1
+pkgver=2.5.0.0
+_dashboardsver=2.5.0
 pkgrel=1
 pkgdesc='OpenSearch Dashboards Maps Plugin'
 url='https://opensearch.org/docs/latest/dashboards/geojson-regionmaps/'
@@ -27,22 +27,22 @@
 }
 
 build() {
-  mv "${_pluginname}/src/plugins/custom_import_map" 
"OpenSearch-Dashboards/plugins/"
-  cd "OpenSearch-Dashboards/plugins/custom_import_map"
+  mv "${_pluginname}" "OpenSearch-Dashboards/plugins/customImportMapDashboards"
+  cd "OpenSearch-Dashboards/plugins/customImportMapDashboards"
   yarn osd bootstrap
   yarn plugin-helpers build --skip-archive # `yarn build` will always create 
the ZIP
 }
 
 check() {
-  cd "OpenSearch-Dashboards/plugins/custom_import_map"
+  cd "OpenSearch-Dashboards/plugins/customImportMapDashboards"
   yarn test:jest -u
 }
 
 package() {
-  install -Dm644 "${_pluginname}/LICENSE.txt" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+  install -Dm644 
"OpenSearch-Dashboards/plugins/customImportMapDashboards/LICENSE.txt" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
 
   install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
-  cd "${srcdir}/OpenSearch-Dashboards/plugins/custom_import_map"
+  cd "${srcdir}/OpenSearch-Dashboards/plugins/customImportMapDashboards"
   cp -r "build/opensearch-dashboards/"* 
"${pkgdir}/usr/share/opensearch-dashboards/plugins/"
   find "${pkgdir}/usr/share/opensearch-dashboards/plugins" -type d -empty 
-delete
 }

Reply via email to