summaryrefslogtreecommitdiff
path: root/community/elasticsearch/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/elasticsearch/PKGBUILD')
-rw-r--r--community/elasticsearch/PKGBUILD20
1 files changed, 13 insertions, 7 deletions
diff --git a/community/elasticsearch/PKGBUILD b/community/elasticsearch/PKGBUILD
index edcc42159..eb45c7f30 100644
--- a/community/elasticsearch/PKGBUILD
+++ b/community/elasticsearch/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 102806 2013-12-20 13:45:23Z mtorromeo $
+# $Id: PKGBUILD 105667 2014-02-13 10:14:53Z mtorromeo $
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
# Contributor: Marcello "mererghost" Rocha <https://github.com/mereghost>
# Refactored by Blaž "Speed" Hrastnik <https://github.com/archSeer>
pkgname=elasticsearch
-pkgver=0.90.8
-pkgrel=2
+pkgver=1.0.0
+pkgrel=1
pkgdesc="Distributed RESTful search engine built on top of Lucene"
arch=('i686' 'x86_64')
url="http://www.elasticsearch.org/"
@@ -15,7 +15,9 @@ install='elasticsearch.install'
source=(
"http://download.elasticsearch.org/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz"
elasticsearch.service
+ elasticsearch@.service
elasticsearch-tmpfile.conf
+ elasticsearch-sysctl.conf
)
backup=('etc/elasticsearch/elasticsearch.yml'
@@ -34,7 +36,7 @@ prepare() {
done
done
- sed 's|$ES_HOME/lib|/usr/lib/elasticsearch|g' -i bin/elasticsearch.in.sh
+ sed 's|$ES_HOME/lib|/usr/lib/elasticsearch|g' -i bin/elasticsearch.in.sh bin/plugin
echo -e '\nJAVA_OPTS="$JAVA_OPTS -Des.path.conf=/etc/elasticsearch"' >> bin/elasticsearch.in.sh
@@ -66,10 +68,14 @@ package() {
install -Dm644 bin/elasticsearch.in.sh "$pkgdir/usr/share/elasticsearch/elasticsearch.in.sh"
install -Dm644 "$srcdir/elasticsearch.service" "$pkgdir/usr/lib/systemd/system/elasticsearch.service"
+ install -Dm644 "$srcdir/elasticsearch@.service" "$pkgdir/usr/lib/systemd/system/elasticsearch@.service"
install -Dm644 "$srcdir/elasticsearch-tmpfile.conf" "$pkgdir/usr/lib/tmpfiles.d/elasticsearch.conf"
+ install -Dm644 "$srcdir/elasticsearch-sysctl.conf" "$pkgdir/usr/lib/sysctl.d/elasticsearch.conf"
}
-sha256sums=('4006e9aa9382f386e79a1c44a14c1aef34765eb5480fb6b29a2facf62ab3a321'
- '09a4027780d73103c26f311c64774dcbc47b5e1d54789c1f2d9c697f518f2eeb'
- '48b5a876e14819270c85f8ca626a011e01d10a2728758ced9a4d5bcf5c1fd23f')
+sha256sums=('0150bc7609c885eb2868bd27b817051e08b4bbe50a8aad5a51698c43283cd51b'
+ 'ab13ccda28bf90a10b570e095afc47ddef68da7e45546b2d45e74722c9095f0a'
+ 'a04ac09172158611a03dda096b670fe6586ae11b6b3d4de7965ed2b90cb3319f'
+ '48b5a876e14819270c85f8ca626a011e01d10a2728758ced9a4d5bcf5c1fd23f'
+ 'b3feb1e9c7e7ce6b33cea6c727728ed700332aae942ca475c3bcc1d56b9f113c')