This commit is contained in:
milisbir 2018-01-19 03:01:20 +02:00
parent b9b79ce28e
commit 2e7d375016
1 changed files with 35 additions and 0 deletions

View File

@ -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
}