milis/talimatname/genel/s/seyhan/talimat

43 lines
1.2 KiB
Plaintext
Raw Normal View History

2018-02-05 12:05:12 +01:00
# Tanım: Açık kaynak kodlu ön muhasebe programı
# URL: http://www.seyhanproject.com
# Paketçi: Cihan_Alkan
2018-02-05 12:54:09 +01:00
# Gerekler: openjdk unzip
# Grup: ofis_düzenleyici
2018-02-05 12:05:12 +01:00
isim=seyhan
surum=1.0.19
devir=1
2018-02-05 12:48:42 +01:00
kaynak=(seyhan-logo.png)
2018-02-05 12:05:12 +01:00
derle() {
2018-02-05 12:55:43 +01:00
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
2018-02-05 12:48:42 +01:00
unzip $DERLEME_KAYNAKDIZIN/seyhan-$surum.zip -d $SRC/
2018-02-05 12:05:12 +01:00
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
2018-02-05 12:48:42 +01:00
cp -r $SRC/seyhan-logo.png $PKG/usr/share/pixmaps/seyhan.png
2018-02-05 12:05:12 +01:00
echo "Kullanıcı Adı: super , Şifre: 1234"
}