milis/talimatname/genel/komutan/talimat

26 lines
877 B
Plaintext
Raw Normal View History

2016-10-16 22:18:25 +02:00
# Description: milis işletim sistemi web tabanlı yönetim programı
# URL: https://github.com/milisarge/komutan
# Packager: milisarge
2017-03-18 14:44:14 +01:00
# Depends on: python python-pip python-yaml
2016-10-16 22:18:25 +02:00
name=komutan
2016-10-29 21:04:08 +02:00
name2=mps
2016-10-16 22:18:25 +02:00
version=git
2017-03-18 14:44:14 +01:00
release=4
2016-10-16 22:18:25 +02:00
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/
install -D -m644 $DERLEME_KAYNAKDIZIN/$name/$name.desktop "${PKG}"/usr/share/applications/$name.desktop
2016-10-29 21:04:08 +02:00
install -D -m644 $DERLEME_KAYNAKDIZIN/$name/$name.svg "${PKG}"/usr/share/pixmaps/$name.svg
install -D -m644 $DERLEME_KAYNAKDIZIN/$name/$name2.desktop "${PKG}"/usr/share/applications/$name2.desktop
install -D -m644 $DERLEME_KAYNAKDIZIN/$name/$name2.svg "${PKG}"/usr/share/pixmaps/$name2.svg
2016-10-16 22:18:25 +02:00
}