Merge pull request #432 from oltulu/patch-217

Update talimat
This commit is contained in:
Milli İşletim Sistemi (Milis Linux) 2018-01-22 06:21:18 +02:00 committed by GitHub
commit a73d7e7f6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 8 deletions

View File

@ -4,20 +4,18 @@
# Gerekler: openjdk apache-ant # Gerekler: openjdk apache-ant
isim=yacy isim=yacy
surum=1.82 surum=1.92
_pkgextraver=20150121_9000 _surum=20161226_9000
devir=1 devir=1
kaynak=("http://www.yacy.net/release/yacy_v${surum}_${_pkgextraver}.tar.gz" kaynak=("http://www.yacy.net/release/yacy_v${surum}_${_surum}.tar.gz"
yacy.rc) yacy.rc)
derle() { derle() {
. /etc/profile.d/ant.sh export JAVA_HOME=/opt/jdk
cd "$SRC/$isim" cd "$SRC/$isim"
ant all /opt/ant/bin/ant all
cd "$SRC/$isim" /opt/ant/bin/ant installonlinux -DDESTDIR="$PKG/"
ant installonlinux -DDESTDIR="$PKG/"
install -d "$PKG"/usr/share/java/yacy install -d "$PKG"/usr/share/java/yacy
install -t "$PKG"/usr/share/java/yacy/ lib/*.jar install -t "$PKG"/usr/share/java/yacy/ lib/*.jar