Date: Saturday, March 4, 2023 @ 21:54:55
Author: hashworks
Revision: 1412535
archrelease: copy trunk to community-x86_64
Added:
opensearch-dashboards-maps-plugin/repos/community-x86_64/PKGBUILD
(from rev 1412534, opensearch-dashboards-maps-plugin/trunk/PKGBUILD)
Deleted:
opensearch-dashboards-maps-plugin/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-04 21:54:52 UTC (rev 1412534)
+++ PKGBUILD 2023-03-04 21:54:55 UTC (rev 1412535)
@@ -1,50 +0,0 @@
-# Maintainer: Justin Kromlinger <[email protected]>
-
-pkgname='opensearch-dashboards-maps-plugin'
-_pluginname='dashboards-maps'
-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/'
-arch=('x86_64')
-license=('Apache')
-depends=("opensearch-dashboards=${_dashboardsver}" 'coffeescript')
-makedepends=('yarn' '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}\",/" \
- "OpenSearch-Dashboards/package.json"
-}
-
-build() {
- 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/customImportMapDashboards"
- yarn test:jest -u
-}
-
-package() {
- 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/customImportMapDashboards"
- 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-maps-plugin/repos/community-x86_64/PKGBUILD (from
rev 1412534, opensearch-dashboards-maps-plugin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-04 21:54:55 UTC (rev 1412535)
@@ -0,0 +1,50 @@
+# Maintainer: Justin Kromlinger <[email protected]>
+
+pkgname='opensearch-dashboards-maps-plugin'
+_pluginname='dashboards-maps'
+pkgver=2.6.0.0
+_dashboardsver=2.6.0
+pkgrel=1
+pkgdesc='OpenSearch Dashboards Maps Plugin'
+url='https://opensearch.org/docs/latest/dashboards/geojson-regionmaps/'
+arch=('x86_64')
+license=('Apache')
+depends=("opensearch-dashboards=${_dashboardsver}" 'coffeescript')
+makedepends=('yarn' '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}\",/" \
+ "OpenSearch-Dashboards/package.json"
+}
+
+build() {
+ 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/customImportMapDashboards"
+ yarn test:jest -u
+}
+
+package() {
+ 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/customImportMapDashboards"
+ 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: