milis/talimatname/genel/w/widgetci/talimat

36 lines
868 B
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: Bir Widget Yönetimi Uygulaması
# URL: https://github.com/eminfedar/widgetci
# Paketçi: Cihan_Alkan
# Gerekler: qt5
# Grup: geliştirme
isim=widgetci
surum=1.0.0
devir=1
kaynak=(https://github.com/eminfedar/widgetci/archive/v$surum.tar.gz::$isim-$surum.tar.gz)
derle() {
cd $isim-$surum/$isim
qmake-qt5 Widgetci.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug
make
mkdir -p $PKG/usr/bin
mkdir -p $PKG/usr/share/applications
mkdir -p $PKG/usr/share/pixmaps
# mkdir -p $PKG/usr/share/$isim/locale
# Başlatıcı
cat > $PKG/usr/share/applications/$isim.desktop << "EOF" &&
[Desktop Entry]
Name=Widgetçi
Comment=Widget Yönetimi Uygulaması
Exec=Widgetci
Icon=widgetci
NoDisplay=false
Categories=System;MX-Maintenance;
Type=Application
EOF
mv Widgetci $PKG/usr/bin/
mv img/icon.png $PKG/usr/share/pixmaps/$isim.png
}