diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2019-01-23 15:57:29 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2019-01-23 16:15:07 +0100 |
commit | bfbdee4e0db115f9008cf75c5904d1d0224f518c (patch) | |
tree | fc24c9caf5aa289c2684c8c37852348bf52541d7 /community/elasticsearch | |
parent | 7c4e67edf985e3386d882973bd78662a9296a750 (diff) | |
download | aports-bfbdee4e0db115f9008cf75c5904d1d0224f518c.tar.bz2 aports-bfbdee4e0db115f9008cf75c5904d1d0224f518c.tar.xz |
community/elasticsearch: minor fixes in abuild
Diffstat (limited to 'community/elasticsearch')
-rw-r--r-- | community/elasticsearch/APKBUILD | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/community/elasticsearch/APKBUILD b/community/elasticsearch/APKBUILD index 02415ba9ff..ad74cdd4da 100644 --- a/community/elasticsearch/APKBUILD +++ b/community/elasticsearch/APKBUILD @@ -22,7 +22,7 @@ source="https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-$pkgv " builddir="$srcdir/$pkgname-$pkgver" -default_module=transport-netty4 +_default_module=transport-netty4 _modules=" aggs-matrix-stats analysis-common @@ -46,10 +46,6 @@ done _basedir="/usr/share/java/$pkgname" -build() { - return 0 -} - package() { local destdir="$pkgdir/$_basedir" local confdir="$pkgdir/etc/$pkgname" @@ -72,14 +68,14 @@ package() { cp -R bin/* "$destdir"/bin # ES does not run without a transport module - install -dm755 "$destdir/modules/$default_module" - install -m644 -t "$destdir/modules/$default_module" modules/"$default_module"/* + install -dm755 "$destdir/modules/$_default_module" + install -m644 -t "$destdir/modules/$_default_module" modules/"$_default_module"/* # reduce heap sizes sed -i \ - -e "s|^-Xms.*|-Xms$heapsize|" \ - -e "s|^-Xmx.*|-Xmx$heapsize|" \ - $confdir/jvm.options + -e "s|^-Xms.*|-Xms$heapsize|" \ + -e "s|^-Xmx.*|-Xmx$heapsize|" \ + $confdir/jvm.options install -m755 -D "$srcdir"/$pkgname.initd \ "$pkgdir"/etc/init.d/$pkgname |