talimat 1.0 KB

123456789101112131415161718192021222324252627
  1. # Tanım: Samsung cihazlara firmware yükleme aracı
  2. # URL: http://www.glassechidna.com.au/products/heimdall/
  3. # Paketçi: milisarge
  4. # Gerekler: cmake qt5 android-udev
  5. # Grup: geliştirme
  6. isim=heimdall
  7. surum=1.4.2
  8. devir=2
  9. kaynak=(https://github.com/Benjamin-Dobell/Heimdall/archive/v${surum}.tar.gz::$isim-$surum.tar.gz
  10. https://github.com/oltulu/Heimdall/raw/master/heimdall-frontend/mainwindow.ui::$isim-mainwindow.ui
  11. https://github.com/oltulu/Heimdall/raw/master/heimdall-frontend/aboutform.ui::$isim-aboutform.ui
  12. heimdall.desktop)
  13. derle(){
  14. cd Heimdall-$surum
  15. cp -r $SRC/$isim-mainwindow.ui $SRC/Heimdall-$surum/heimdall-frontend/
  16. cp -r $SRC/$isim-aboutform.ui $SRC/Heimdall-$surum/heimdall-frontend/
  17. cmake . -DCMAKE_INSTALL_PREFIX=/usr
  18. make
  19. install -m644 -D $SRC/heimdall.desktop "$PKG/usr/share/applications/heimdall.desktop"
  20. install -m644 -D LICENSE "$PKG/usr/share/licenses/$isim/LICENSE"
  21. install -d "$PKG"/usr/bin
  22. install -Dm755 bin/* "$PKG"/usr/bin/
  23. install -Dm644 heimdall/60-heimdall.rules "$PKG"/usr/lib/udev/rules.d/60-heimdall.rules
  24. }