diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2018-01-24 20:37:11 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2018-01-24 20:37:11 +0100 |
commit | d7ced00bb0fd608947e851494970804e6795c552 (patch) | |
tree | ee09e894ae04ad6eca7946083053633e24b4b377 /pcr/heimdall | |
parent | dec5d53e809d2aafd4ace75903b8bc336347a19a (diff) | |
download | abslibre-d7ced00bb0fd608947e851494970804e6795c552.tar.gz abslibre-d7ced00bb0fd608947e851494970804e6795c552.tar.bz2 abslibre-d7ced00bb0fd608947e851494970804e6795c552.zip |
pcr/heimdall: added
Diffstat (limited to 'pcr/heimdall')
-rw-r--r-- | pcr/heimdall/PKGBUILD | 44 | ||||
-rw-r--r-- | pcr/heimdall/heimdall.desktop | 9 |
2 files changed, 53 insertions, 0 deletions
diff --git a/pcr/heimdall/PKGBUILD b/pcr/heimdall/PKGBUILD new file mode 100644 index 000000000..e0338da71 --- /dev/null +++ b/pcr/heimdall/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer (AUR): Daniel Micay <danielmicay@gmail.com> +# Contributor (AUR): Todd Musall +# Contributor (AUR): dront78 (Ivan) +# Contributor (AUR): Victor Noel +# Contributor (AUR): ngoonee + +# parabola changes and rationale: +# no changes. + +pkgname=heimdall +pkgver=1.4.2 +pkgrel=1 +pkgdesc='Tool suite used to flash firmware (aka ROMs) onto Samsung mobile devices' +arch=('x86_64' 'i686' 'armv7h') +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 +} diff --git a/pcr/heimdall/heimdall.desktop b/pcr/heimdall/heimdall.desktop new file mode 100644 index 000000000..ca2d125c1 --- /dev/null +++ b/pcr/heimdall/heimdall.desktop @@ -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; |