[arch-commits] Commit in elasticsearch/trunk (PKGBUILD)

Massimiliano Torromeo mtorromeo at archlinux.org
Tue May 19 10:09:11 UTC 2020


    Date: Tuesday, May 19, 2020 @ 10:09:09
  Author: mtorromeo
Revision: 629807

upgpkg: elasticsearch 7.7.0-1

Modified:
  elasticsearch/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-19 10:07:10 UTC (rev 629806)
+++ PKGBUILD	2020-05-19 10:09:09 UTC (rev 629807)
@@ -3,7 +3,7 @@
 # Refactored by Blaž "Speed" Hrastnik <https://github.com/archSeer>
 
 pkgname=elasticsearch
-pkgver=7.6.2
+pkgver=7.7.0
 pkgrel=1
 pkgdesc="Distributed RESTful search engine built on top of Lucene"
 arch=('x86_64')
@@ -22,7 +22,7 @@
   elasticsearch-tmpfile.conf
   elasticsearch.default
 )
-sha256sums=('05d9c6810647ea4d200b1ca546dfa3ff985100b9726e2cf6170ed3b6337a2d42'
+sha256sums=('df2ba7e1991dd26f3dc14aa0cf6a90b0567ca5988636ab2a70bc9a12f9a7f6ef'
             '830bf17a9e1f88a8d6152899af2674571ecace88e202e484b56bf24f67d96e10'
             '9e1f68ff275ef2b5f2b93d2823efc5cc9643da696fcbe09a3ea7520ada35ffba'
             '8a76ad9a44a34eca8d6cb7ec9d8f1b01d46c114765b0a76094de8d72f0477351'
@@ -49,14 +49,14 @@
 package() {
   cd "$pkgdir"
   install -dm2750 etc/elasticsearch
-  install -dm750 etc/elasticsearch/scripts
+  install -dm750 etc/elasticsearch/{scripts,jvm.options.d}
   install -dm755 {usr/share,var/lib,var/log}/elasticsearch
   install -dm755 usr/bin
 
   cd "$srcdir"
-  for conf in etc/elasticsearch/*; do
-    install -Dm644 "$conf" "$pkgdir/$conf"
-  done
+  find etc/elasticsearch/ -type f -exec \
+    install -Dm644 {} "$pkgdir/"{} \;
+
   cp -R usr/share/elasticsearch/{bin,lib,modules,plugins} "$pkgdir"/usr/share/elasticsearch
 
   cd "$pkgdir"/usr/share/elasticsearch


More information about the arch-commits mailing list