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

Massimiliano Torromeo mtorromeo at archlinux.org
Fri Dec 7 13:45:05 UTC 2018


    Date: Friday, December 7, 2018 @ 13:45:05
  Author: mtorromeo
Revision: 412100

upgpkg: elasticsearch 6.5.2-1

Modified:
  elasticsearch/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-07 13:37:06 UTC (rev 412099)
+++ PKGBUILD	2018-12-07 13:45:05 UTC (rev 412100)
@@ -3,15 +3,15 @@
 # Refactored by Blaž "Speed" Hrastnik <https://github.com/archSeer>
 
 pkgname=elasticsearch
-pkgver=6.5.1
+pkgver=6.5.2
 pkgrel=1
 pkgdesc="Distributed RESTful search engine built on top of Lucene"
 arch=('any')
 url="https://www.elastic.co/products/elasticsearch"
-license=('APACHE')
+license=('Apache')
 depends=('java-runtime-headless' 'systemd')
 source=(
-  "https://artifacts.elastic.co/downloads/$pkgname/$pkgname-$pkgver.tar.gz"
+  "https://artifacts.elastic.co/downloads/$pkgname/$pkgname-oss-$pkgver.tar.gz"
   elasticsearch-env
   elasticsearch.service
   elasticsearch at .service
@@ -22,7 +22,7 @@
   elasticsearch-tmpfile.conf
   elasticsearch.default
 )
-sha256sums=('17cf2f58c7cbb36c4419a8143321660defe2c492b3a6eaa9a6dcd5e36347d124'
+sha256sums=('2f8d00abd5ecb67bae293068aeae60642ba395ea4bed5e186890f640f4414afa'
             '1607adfcdefc2a55d7d4c7e8a15669da2cc8096029cce5dd5b9279d4966ceabe'
             'de3842935b6ef9cb8a05dc18334112f534dccc2292e36052df942a92de7e66db'
             '13090c1d23ae0a21bf6f0f1d1da795d38972f1674b20c3d2d32f54311aa99094'
@@ -41,7 +41,9 @@
 prepare() {
   cd "$srcdir"/$pkgname-$pkgver
 
-  find bin -type f ! -name \*.bat ! -name \*.jar ! -name \*.exe -exec \
+  find bin -type f \( -name \*.bat -o -name \*.exe \) -delete
+  find bin -type f \( -name \*.jar -o -name \*-env \) -exec chmod a-x {} +
+  find bin -type f ! -name \*.jar -exec \
     sed -r 's;source .*/(.*)-env;source /usr/share/elasticsearch/\1-env;' -i {} +
 }
 
@@ -52,9 +54,6 @@
   install -dm755 usr/bin
 
   cd "$srcdir"/$pkgname-$pkgver
-  find bin -type f \( -name \*.bat -o -name \*.exe \) -delete
-  find bin -type f \( -name \*.jar -o -name \*-env \) -exec chmod a-x {} +
-  rm -rf modules/x-pack/x-pack-ml/platform/{darwin,windows}-*
   cp -R bin lib modules plugins "$pkgdir"/usr/share/elasticsearch/
 
   cd config


More information about the arch-commits mailing list