milis/talimatname/genel/s/seyhan/talimat

43 lines
1.1 KiB
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: Açık kaynak kodlu ön muhasebe programı
# URL: http://www.seyhanproject.com
# Paketçi: Cihan_Alkan
# Gerekler: openjdk unzip
# Grup: ofis
isim=seyhan
surum=1.0.19
devir=1
kaynak=(seyhan-logo.png)
derle() {
if [ ! -f $DERLEME_KAYNAKDIZIN/seyhan-$surum.zip ];then
wget http://www.seyhanproject.com/downloads/seyhan-$surum.zip \
--user-agent="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 \
(KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" \
-O $DERLEME_KAYNAKDIZIN/seyhan-$surum.zip
fi
unzip $DERLEME_KAYNAKDIZIN/seyhan-$surum.zip -d $SRC/
mkdir -pv $PKG/opt/seyhan
mv $SRC/$isim-$surum/* $PKG/opt/seyhan/
# Başlatıcı
mkdir -pv $PKG/usr/share/applications &&
cat > $PKG/usr/share/applications/seyhan.desktop << "EOF" &&
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Seyhan Ön Muhasebe
Comment=Açık kaynak kodlu ön muhasebe programı
Icon=seyhan
Exec=firefox http://localhost:9000
Categories=Network;GTK;Application;Browser;WebBrowser;
StartupNotify=true
Terminal=false
EOF
mkdir -pv $PKG/usr/share/pixmaps
cp -r $SRC/seyhan-logo.png $PKG/usr/share/pixmaps/seyhan.png
echo "Kullanıcı Adı: super , Şifre: 1234"
}