milis/talimatname/genel/kutuphane/talimat

28 lines
798 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: Javada yazılmış bir kütüphane uygulaması - Ebubekir Bastama
# URL: https://github.com/ebubekirbastama/KutuphaneOtomasyonu
# Packager: milisarge
# Depends on: apache-ant openjdk java-mysql mariadb xorg-server
name=kutuphane
version=1.0
release=2
source=(https://github.com/milisarge/KutuphaneOtomasyonu/archive/$version.tar.gz
baglanti.java)
build() {
cd KutuphaneOtomasyonu-$version
export JAVA_HOME=/opt/jdk
export ANT_HOME="/opt/ant"
cp -f $SRC/baglanti.java src/kutuphane/otomasyonu/
/opt/ant/bin/ant
install -d $PKG/opt
install -d $PKG/usr/bin
install -d $PKG/etc
cp dist/Kutuphane_Otomasyonu.jar $PKG/opt/
install -m 755 kutuphane $PKG/usr/bin/
install -m 644 kutup.conf $PKG/etc/
install -m 755 kutuphane_vt_yukle $PKG/opt/
cp -r Sqldizini $PKG/opt/
}