milis/talimatname/genel/h/heimdall/talimat

26 lines
1.0 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Samsung cihazlara firmware yükleme aracı
2017-10-10 05:58:38 +02:00
# URL: http://www.glassechidna.com.au/products/heimdall/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: cmake qt5 android-udev
2017-10-10 05:58:38 +02:00
2017-10-28 14:10:23 +02:00
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
2017-10-10 05:58:38 +02:00
heimdall.desktop)
2017-10-27 23:59:41 +02:00
derle(){
2017-10-28 14:10:23 +02:00
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/
2017-10-10 05:58:38 +02:00
cmake . -DCMAKE_INSTALL_PREFIX=/usr
make
install -m644 -D $SRC/heimdall.desktop "$PKG/usr/share/applications/heimdall.desktop"
2017-10-28 14:10:23 +02:00
install -m644 -D LICENSE "$PKG/usr/share/licenses/$isim/LICENSE"
2017-10-10 05:58:38 +02:00
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
}