milis/talimatname/genel/h/heimdall/talimat

26 lines
1.0 KiB
Plaintext
Raw Normal View History

2017-10-10 05:58:38 +02:00
# Description: Samsung cihazlara firmware yükleme aracı
# URL: http://www.glassechidna.com.au/products/heimdall/
# Packager: milisarge
2017-10-10 06:15:47 +02:00
# Depends on: cmake qt5 android-udev
2017-10-10 05:58:38 +02:00
name=heimdall
version=1.4.2
2017-10-23 16:41:55 +02:00
release=2
2017-10-10 05:58:38 +02:00
source=(https://github.com/Benjamin-Dobell/Heimdall/archive/v${version}.tar.gz::$name-$version.tar.gz
2017-10-23 16:41:55 +02:00
https://github.com/oltulu/Heimdall/raw/master/heimdall-frontend/mainwindow.ui::$name-mainwindow.ui
https://github.com/oltulu/Heimdall/raw/master/heimdall-frontend/aboutform.ui::$name-aboutform.ui
2017-10-10 05:58:38 +02:00
heimdall.desktop)
build(){
cd Heimdall-$version
2017-10-23 16:41:55 +02:00
cp -r $SRC/$name-mainwindow.ui $SRC/Heimdall-$version/heimdall-frontend/
cp -r $SRC/$name-aboutform.ui $SRC/Heimdall-$version/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"
install -m644 -D LICENSE "$PKG/usr/share/licenses/$name/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
}