[arch-commits] Commit in heimdall/repos (3 files)
Jerome Leclanche
jleclanche at archlinux.org
Mon Oct 7 23:38:49 UTC 2019
Date: Monday, October 7, 2019 @ 23:38:48
Author: jleclanche
Revision: 514177
archrelease: copy trunk to community-x86_64
Added:
heimdall/repos/community-x86_64/
heimdall/repos/community-x86_64/PKGBUILD
(from rev 514176, heimdall/trunk/PKGBUILD)
heimdall/repos/community-x86_64/heimdall.desktop
(from rev 514176, heimdall/trunk/heimdall.desktop)
------------------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
heimdall.desktop | 9 +++++++++
2 files changed, 52 insertions(+)
Copied: heimdall/repos/community-x86_64/PKGBUILD (from rev 514176, heimdall/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2019-10-07 23:38:48 UTC (rev 514177)
@@ -0,0 +1,43 @@
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+pkgname=heimdall
+_pkgname=Heimdall
+pkgver=1.4.2
+_pkgver=v$pkgver
+pkgrel=2
+pkgdesc="Tool suite used to flash firmware (ROMs) onto Samsung Galaxy S devices"
+arch=("x86_64")
+url="https://glassechidna.com.au/heimdall/"
+license=("MIT")
+depends=("qt5-base")
+makedepends=("cmake")
+optdepends=("android-udev: Udev rules to connect Android devices to your linux box")
+source=(
+ "$pkgname-$pkgver.tar.gz::https://gitlab.com/BenjaminDobell/Heimdall/-/archive/v$pkgver/$_pkgname-$_pkgver.tar.gz"
+ "heimdall.desktop"
+)
+sha256sums=(
+ "9f14beaca4a0ee6459b972c30eec1baccbd057726caafe4cbba6c30e0d5e7d56"
+ "439cea1a8976b9b589ffe4030a084243bcc5e937dcb9c571cdb94d3ff08b4fb4"
+)
+
+build() {
+ cd "$srcdir/$_pkgname-$_pkgver"
+
+ cmake . -DCMAKE_INSTALL_PREFIX="/usr"
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$_pkgver"
+
+ # Install desktop file
+ install -m644 -D "$srcdir/heimdall.desktop" "$pkgdir/usr/share/applications/heimdall.desktop"
+
+ # 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
+}
Copied: heimdall/repos/community-x86_64/heimdall.desktop (from rev 514176, heimdall/trunk/heimdall.desktop)
===================================================================
--- community-x86_64/heimdall.desktop (rev 0)
+++ community-x86_64/heimdall.desktop 2019-10-07 23:38:48 UTC (rev 514177)
@@ -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;
More information about the arch-commits
mailing list