heimdall.paketlendi

This commit is contained in:
milisbir 2017-10-10 06:58:38 +03:00
parent 5012cc35d3
commit b0b6c245c9
5 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1 @@
getent group adbusers >/dev/null || groupadd -r adbusers

View File

@ -0,0 +1 @@
groupdel adbusers

View File

@ -0,0 +1,14 @@
# Description: android cihazlar için udev kuralları
# URL: https://github.com/M0Rf30/android-udev-rules
# Packager: milisarge
# Depends on: libmtp
name=android-udev
version=20170910
release=1
source=(https://github.com/M0Rf30/android-udev-rules/archive/$version.zip::android-udev-$version.zip)
build() {
cd android-udev-rules-$version
install -Dm 644 51-android.rules "$PKG"/usr/lib/udev/rules.d/51-android.rules
}

View File

@ -0,0 +1,9 @@
[Desktop Entry]
Version=1.0
Name=Heimdall
Type=Application
Comment=Firmware flasher for Samsung mobile devices
Terminal=false
Exec=heimdall-frontend
Icon=phone
Categories=Development;

View File

@ -0,0 +1,21 @@
# Description: Samsung cihazlara firmware yükleme aracı
# URL: http://www.glassechidna.com.au/products/heimdall/
# Packager: milisarge
# Depends on: cmake qt5
name=heimdall
version=1.4.2
release=1
source=(https://github.com/Benjamin-Dobell/Heimdall/archive/v${version}.tar.gz::$name-$version.tar.gz
heimdall.desktop)
build(){
cd Heimdall-$version
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
}