milis/talimatname/genel/k/komutan/talimat

28 lines
891 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.

# Tanım: milis işletim sistemi web tabanlı yönetim programı
# URL: https://github.com/milisarge/komutan
# Paketçi: milisarge
# Gerekler: python python-pip python-yaml gunicorn
# Grup: sistem
isim=komutan
name2=mps
surum=git
devir=5
kaynak=()
derle() {
if [ ! -d $DERLEME_KAYNAKDIZIN/$isim ];then
git clone https://github.com/milisarge/$isim.git $DERLEME_KAYNAKDIZIN/$isim
else
cd $DERLEME_KAYNAKDIZIN/$isim
git pull
cd -
fi
mkdir $PKG/opt
cp -r $DERLEME_KAYNAKDIZIN/$isim $PKG/opt/
install -D -m644 $DERLEME_KAYNAKDIZIN/$isim/$isim.desktop "${PKG}"/usr/share/applications/$isim.desktop
install -D -m644 $DERLEME_KAYNAKDIZIN/$isim/$isim.svg "${PKG}"/usr/share/pixmaps/$isim.svg
install -D -m644 $DERLEME_KAYNAKDIZIN/$isim/$isim2.desktop "${PKG}"/usr/share/applications/$isim2.desktop
install -D -m644 $DERLEME_KAYNAKDIZIN/$isim/$isim2.svg "${PKG}"/usr/share/pixmaps/$isim2.svg
}