From 2e7d375016f83b229740d8b1e7f1f46f2ce97fb8 Mon Sep 17 00:00:00 2001 From: milisbir Date: Fri, 19 Jan 2018 03:01:20 +0200 Subject: [PATCH] widgetci --- talimatname/genel/w/widgetci/talimat | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 talimatname/genel/w/widgetci/talimat diff --git a/talimatname/genel/w/widgetci/talimat b/talimatname/genel/w/widgetci/talimat new file mode 100644 index 000000000..e13711cb4 --- /dev/null +++ b/talimatname/genel/w/widgetci/talimat @@ -0,0 +1,35 @@ +# 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 +}