Add 'heimdall/' from commit '2e57404c5021841fd5fe818907de469fb6840591'

git-subtree-dir: heimdall
git-subtree-mainline: aa95cd12d5
git-subtree-split: 2e57404c50
This commit is contained in:
2019-09-06 12:52:18 +02:00
3 changed files with 66 additions and 0 deletions

17
heimdall/.SRCINFO Normal file
View File

@@ -0,0 +1,17 @@
pkgbase = heimdall
pkgdesc = Tool suite used to flash firmware (aka ROMs) onto Samsung mobile devices
pkgver = 1.4.2
pkgrel = 1
url = http://www.glassechidna.com.au/products/heimdall/
arch = x86_64
license = MIT
makedepends = cmake
depends = qt5-base
optdepends = android-udev: Udev rules to connect Android devices to your linux box
source = heimdall-1.4.2.tar.gz::https://github.com/Benjamin-Dobell/Heimdall/archive/v1.4.2.tar.gz
source = heimdall.desktop
sha256sums = 589bef88f2597c8a84fe6fafbe928ddc9687438b5b54edd917d7df48c7e3eff8
sha256sums = 439cea1a8976b9b589ffe4030a084243bcc5e937dcb9c571cdb94d3ff08b4fb4
pkgname = heimdall

40
heimdall/PKGBUILD Normal file
View File

@@ -0,0 +1,40 @@
# Maintainer: Daniel Micay <danielmicay@gmail.com>
# Contributor: Todd Musall
# Contributor: dront78 (Ivan)
# Contributor: Victor Noel
# Contributor: ngoonee
pkgname=heimdall
pkgver=1.4.2
pkgrel=1
pkgdesc='Tool suite used to flash firmware (aka ROMs) onto Samsung mobile devices'
arch=('x86_64')
url='http://www.glassechidna.com.au/products/heimdall/'
license=('MIT')
depends=('qt5-base')
makedepends=('cmake')
optdepends=('android-udev: Udev rules to connect Android devices to your linux box')
source=("heimdall-${pkgver}.tar.gz::https://github.com/Benjamin-Dobell/Heimdall/archive/v${pkgver}.tar.gz"
'heimdall.desktop')
sha256sums=('589bef88f2597c8a84fe6fafbe928ddc9687438b5b54edd917d7df48c7e3eff8'
'439cea1a8976b9b589ffe4030a084243bcc5e937dcb9c571cdb94d3ff08b4fb4')
build() {
cd Heimdall-$pkgver
cmake . -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
install -m644 -D heimdall.desktop "$pkgdir/usr/share/applications/heimdall.desktop"
cd Heimdall-$pkgver
# Install license file
install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
# Install heimdall command line tool
install -d "$pkgdir"/usr/bin
install -Dm755 bin/* "$pkgdir"/usr/bin/
install -Dm644 heimdall/60-heimdall.rules "$pkgdir"/usr/lib/udev/rules.d/60-heimdall.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;