diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index 4fe4035..9b154bd 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -4,13 +4,13 @@ pkgname=elasticsearch pkgver=7.10.1 -pkgrel=1 +pkgrel=2 pkgdesc="Distributed RESTful search engine built on top of Lucene" arch=('x86_64') url="https://www.elastic.co/products/elasticsearch" license=('Apache') -depends=('java-runtime-headless<=14' 'systemd' 'libxml2') -makedepends=('java-environment=14' 'gradle') +depends=('java-runtime-headless<=15' 'systemd' 'libxml2') +makedepends=('java-environment=11' 'gradle') source=( $pkgname-$pkgver.tar.gz::"https://github.com/elastic/elasticsearch/archive/v${pkgver}.tar.gz" elasticsearch.service @@ -49,7 +49,7 @@ build() { export PATH=/usr/lib/jvm/java-11-openjdk/bin:$PATH export GRADLE_OPTS="-Dbuild.snapshot=false -Dlicense.key=x-pack/plugin/core/snapshot.key" gradle :distribution:buildSystemdModule - gradle :distribution:archives:linux-tar:build + gradle :distribution:archives:oss-linux-tar:build } package() { @@ -58,7 +58,7 @@ package() { install -dm755 "$pkgdir"/{usr/share,var/lib,var/log}/elasticsearch install -dm755 "$pkgdir"/usr/bin - tar xf distribution/archives/linux-tar/build/distributions/elasticsearch-$pkgver-*linux-x86_64.tar.gz \ + tar xf distribution/archives/oss-linux-tar/build/distributions/elasticsearch-oss-$pkgver-*linux-x86_64.tar.gz \ --strip 1 -C "$pkgdir"/usr/share/elasticsearch rm -r "$pkgdir"/usr/share/elasticsearch/{jdk,logs}