milis/talimatname/genel/k/komutan/talimat

26 lines
875 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: milis işletim sistemi web tabanlı yönetim programı
2016-10-16 22:18:25 +02:00
# URL: https://github.com/milisarge/komutan
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: python python-pip python-yaml gunicorn
2017-10-28 14:10:23 +02:00
isim=komutan
2016-10-29 21:04:08 +02:00
name2=mps
2017-10-28 14:10:23 +02:00
surum=git
devir=5
2016-10-16 22:18:25 +02:00
2017-10-28 14:10:23 +02:00
kaynak=()
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
if [ ! -d $DERLEME_KAYNAKDIZIN/$isim ];then
git clone https://github.com/milisarge/$isim.git $DERLEME_KAYNAKDIZIN/$isim
2016-10-16 22:18:25 +02:00
else
2017-10-28 14:10:23 +02:00
cd $DERLEME_KAYNAKDIZIN/$isim
2016-10-16 22:18:25 +02:00
git pull
cd -
fi
mkdir $PKG/opt
2017-10-28 14:10:23 +02:00
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
2016-10-16 22:18:25 +02:00
}