komutan.paketlendi

This commit is contained in:
milisman 2016-10-16 23:18:25 +03:00
parent dd3e0f8278
commit 03b21ce238
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,3 @@
pip2 install flask
pip2 install psutil
pip2 install /opt/komutan/gerekliler/python-stdnum-1.1.tar.gz

View File

@ -0,0 +1,24 @@
# Description: milis işletim sistemi web tabanlı yönetim programı
# URL: https://github.com/milisarge/komutan
# Packager: milisarge
# Depends on: sqlite python python-pip
name=komutan
version=git
release=1
source=()
build() {
if [ ! -d $DERLEME_KAYNAKDIZIN/$name ];then
git clone https://github.com/milisarge/$name.git $DERLEME_KAYNAKDIZIN/$name
else
cd $DERLEME_KAYNAKDIZIN/$name
git pull
cd -
fi
mkdir $PKG/opt
cp -r $DERLEME_KAYNAKDIZIN/$name $PKG/opt/
#cp $name/komutan.desktop $PKG/usr/share/applications/komutan.desktop
#cp $name/komutan.png /usr/share/pixmaps/komutan.png
install -D -m644 $DERLEME_KAYNAKDIZIN/$name/$name.desktop "${PKG}"/usr/share/applications/$name.desktop
install -D -m644 $DERLEME_KAYNAKDIZIN/$name/$name.png "${PKG}"/usr/share/pixmaps/komutan.png
}