milis/talimatname/genel/h/heimdall/talimat

26 lines
1.0 KiB
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: Samsung cihazlara firmware yükleme aracı
# URL: http://www.glassechidna.com.au/products/heimdall/
# Paketçi: milisarge
# Gerekler: cmake qt5 android-udev
isim=heimdall
surum=1.4.2
devir=2
kaynak=(https://github.com/Benjamin-Dobell/Heimdall/archive/v${surum}.tar.gz::$isim-$surum.tar.gz
https://github.com/oltulu/Heimdall/raw/master/heimdall-frontend/mainwindow.ui::$isim-mainwindow.ui
https://github.com/oltulu/Heimdall/raw/master/heimdall-frontend/aboutform.ui::$isim-aboutform.ui
heimdall.desktop)
derle(){
cd Heimdall-$surum
cp -r $SRC/$isim-mainwindow.ui $SRC/Heimdall-$surum/heimdall-frontend/
cp -r $SRC/$isim-aboutform.ui $SRC/Heimdall-$surum/heimdall-frontend/
cmake . -DCMAKE_INSTALL_PREFIX=/usr
make
install -m644 -D $SRC/heimdall.desktop "$PKG/usr/share/applications/heimdall.desktop"
install -m644 -D LICENSE "$PKG/usr/share/licenses/$isim/LICENSE"
install -d "$PKG"/usr/bin
install -Dm755 bin/* "$PKG"/usr/bin/
install -Dm644 heimdall/60-heimdall.rules "$PKG"/usr/lib/udev/rules.d/60-heimdall.rules
}