summaryrefslogtreecommitdiff
path: root/pcr/yacy
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/yacy')
-rw-r--r--pcr/yacy/PKGBUILD16
-rw-r--r--pcr/yacy/yacy.sh2
2 files changed, 8 insertions, 10 deletions
diff --git a/pcr/yacy/PKGBUILD b/pcr/yacy/PKGBUILD
index 69a94f9e8..e37951ded 100644
--- a/pcr/yacy/PKGBUILD
+++ b/pcr/yacy/PKGBUILD
@@ -5,27 +5,25 @@
# Contributor (Arch): Florian Richter <Florian_Richter@gmx.de>
pkgname=yacy
-pkgver=1.92
-_pkgextraver=20161226_9000
-pkgrel=2
+pkgver=1.922
+_pkgextraver=20191013_9964
+pkgrel=1
pkgdesc="Peer to peer search engine"
arch=('any')
url=http://www.yacy.net/
license=('GPL2')
-depends=('java-environment')
+depends=('java-environment=8')
makedepends=('apache-ant')
install=yacy.install
-source=("http://www.yacy.net/release/yacy_v${pkgver}_${_pkgextraver}.tar.gz"
+source=("http://latest.yacy.net/yacy_v${pkgver}_${_pkgextraver}.tar.gz"
'yacy.sh'
'yacy.service')
options=(!emptydirs)
-sha512sums=('476e185f4abbcbe988e1fa192b8d032d967ff29d25cca83d8493bc3b6a651519c61129ce54d7a9952ffdb011056cb734297a3497ec19ee58e25c650cef8c1684'
- 'ba15bcb3ee1873bae57881ca4d96f65ee1fa5b40cff0f0c21c542cad6a7983a057ec83faae9452b426d5441aad02f80e3633d1798d7f0d84a680ed2233adb11f'
+sha512sums=('cc21a5513a25da9941c9bac6d1006eee733290ccb1fa4038e3a7228bfb384344985797cb23b643772feffadcb55f6a1b972f52b9e386a15bf3a9029fa1dfce05'
+ '0e337c6e616cd3145a558a509724b03a4a3588d6967b4ea671610d5175a25324d3eb16e27ca76217b1482f97f26ee4ac9f237e68c9b20fb4e051bfab6f1ac006'
'754b6224ef2a640cbfb50a3d46e92c04955dac3e683239872d2a5c9ba92016a1511c6049903322dd8a21e6d2cc51e2f4e9bd3339b4ef4aada68ae20b3acc189b')
build() {
- . /etc/profile.d/apache-ant.sh
-
cd "$srcdir/$pkgname"
ant all
}
diff --git a/pcr/yacy/yacy.sh b/pcr/yacy/yacy.sh
index ddbdadbd1..c98735148 100644
--- a/pcr/yacy/yacy.sh
+++ b/pcr/yacy/yacy.sh
@@ -17,7 +17,7 @@ if [ "$(id -u)" != "0" -a "$(whoami)" != "$USER" ] ; then
exit 4
fi
-JAVA=$(which java 2> /dev/null)
+JAVA="/usr/lib/jvm/java-8-openjdk/bin/java"
if [ ! -x "$JAVA" ]; then
echo "The 'java' command is not executable."
echo "Either you have not installed java or it is not in your PATH"