Date: Sunday, July 17, 2016 @ 10:23:12 Author: mtorromeo Revision: 183017
upgpkg: elasticsearch 2.3.4-2 Tracked data directories Modified: elasticsearch/trunk/PKGBUILD ----------+ PKGBUILD | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-07-17 10:07:57 UTC (rev 183016) +++ PKGBUILD 2016-07-17 10:23:12 UTC (rev 183017) @@ -5,7 +5,7 @@ pkgname=elasticsearch pkgver=2.3.4 -pkgrel=1 +pkgrel=2 pkgdesc="Distributed RESTful search engine built on top of Lucene" arch=('any') url="https://www.elastic.co/products/elasticsearch" @@ -51,10 +51,20 @@ } package() { - install -dm755 "$pkgdir"/etc/elasticsearch + cd "$pkgdir" + install -dm750 etc/elasticsearch/scripts + install -dm755 usr/share/elasticsearch/plugins + install -dm755 var/lib/elasticsearch + install -dm755 var/log/elasticsearch + install -Dm644 "$srcdir"/elasticsearch.service usr/lib/systemd/system/elasticsearch.service + install -Dm644 "$srcdir"/elasticsearch@.service usr/lib/systemd/system/elasticsearch@.service + install -Dm644 "$srcdir"/elasticsearch-user.conf usr/lib/sysusers.d/elasticsearch.conf + install -Dm644 "$srcdir"/elasticsearch-tmpfile.conf usr/lib/tmpfiles.d/elasticsearch.conf + install -Dm644 "$srcdir"/elasticsearch-sysctl.conf usr/lib/sysctl.d/elasticsearch.conf + install -Dm644 "$srcdir"/elasticsearch.default etc/default/elasticsearch + cd "$srcdir"/$pkgname-$pkgver - install -dm755 "$pkgdir"/usr/share/elasticsearch cp -R lib modules "$pkgdir"/usr/share/elasticsearch/ cp config/* "$pkgdir"/etc/elasticsearch/ @@ -61,12 +71,4 @@ install -Dm755 bin/elasticsearch "$pkgdir"/usr/bin/elasticsearch install -Dm755 bin/plugin "$pkgdir"/usr/bin/elasticsearch-plugin install -Dm644 bin/elasticsearch.in.sh "$pkgdir"/usr/share/elasticsearch/bin/elasticsearch.in.sh - - cd "$pkgdir" - install -Dm644 "$srcdir"/elasticsearch.service usr/lib/systemd/system/elasticsearch.service - install -Dm644 "$srcdir"/elasticsearch@.service usr/lib/systemd/system/elasticsearch@.service - install -Dm644 "$srcdir"/elasticsearch-user.conf usr/lib/sysusers.d/elasticsearch.conf - install -Dm644 "$srcdir"/elasticsearch-tmpfile.conf usr/lib/tmpfiles.d/elasticsearch.conf - install -Dm644 "$srcdir"/elasticsearch-sysctl.conf usr/lib/sysctl.d/elasticsearch.conf - install -Dm644 "$srcdir"/elasticsearch.default etc/default/elasticsearch }