Package Details: edgetx-flasher-bin 0.1.0.fc30bac-1

Git Clone URL: https://aur.archlinux.org/edgetx-flasher-bin.git (read-only, click to copy)
Package Base: edgetx-flasher-bin
Description: The new alternative to OpenTX Companion for updating radio firmware and optimizing backups
Upstream URL: https://edgetx.org/
Keywords: drone edgetx edgetx-flasher flasher fpv opentx radio
Licenses: Unlicense
Submitter: lod
Maintainer: lod
Last Packager: lod
Votes: 2
Popularity: 0.068247
First Submitted: 2022-04-19 20:50 (UTC)
Last Updated: 2023-04-01 10:07 (UTC)

Latest Comments

lod commented on 2023-07-21 22:55 (UTC)

Project deprecated, will be removed soon™

k1f0 commented on 2022-11-24 22:44 (UTC)

Completed the PKGBUILD

diff --git a/PKGBUILD.old b/PKGBUILD                                                                                                                                                                                             
index d281bea..7dc55d4 100644                                                                                                                                                                                                    
--- a/PKGBUILD.old                                                                                                                                                                                                               
+++ b/PKGBUILD                                                                                                                                                                                                                   
@@ -1,7 +1,8 @@                                                                                                                                                                                                                  
 # Maintainer: lod (aur@cyber-anlage.de)

 pkgname="edgetx-flasher-bin"                                                                                                                                                                                                    
-pkgver=0.1.0.16fb26b                                                                                                                                                                                                            
+_pkgname="edgetx-flasher"                                                                                                                                                                                                       
+pkgver=629b68c                                                                                                                                                                                                                  
 pkgrel=1                                                                                                                                                                                                                        
 pkgdesc="The new alternative to OpenTX Companion for updating radio firmware and optimizing backups"                                                                                                                            
 arch=('x86_64')                                                                                                                                                                                                                 
@@ -9,10 +10,12 @@ url="https://edgetx.org/"                                                                                                                                                                                     
 license=('Unlicense')                                                                                                                                                                                                           
 makedepends=()                                                                                                                                                                                                                  
 depends=('gtk3' 'nss' 'alsa-lib')                                                                                                                                                                                               
-source=("https://github.com/EdgeTX/flasher/releases/download/latest/${pkgname%%-bin}-linux-${pkgver##*.}.deb")                                                                                                                  
-sha512sums=('5932ac08bc8a89bc69d38d41da8f6bcdf0558b0b29e578aaefca075f51fa6b64953ce2d4c83857450d7ea39a087cb3efc372281aac61a84f49aa21279d419081')                                                                                 
+source=("https://github.com/EdgeTX/flasher/releases/download/latest/edgetx-flasher-linux-$pkgver.deb")                                                                                                                          
+sha512sums=('53063c656d4cc2c228c5d94d773e46d57879fef7a2515bf56e1a62f937d2ca462b4479dc98a667f1a5488e6748468baa02700a30ba770dd3cf46343d7d10282f')

 package() {                                                                                                                                                                                                                     
-       tar xf data.tar.xz -C $pkgdir                                                                                                                                                                                            
-       mv $pkgdir/usr/share/icons/hicolor/0x0/ $pkgdir/usr/share/icons/hicolor/512x512/                                                                                                                                         
+       tar xf data.tar.xz -C "${pkgdir}"                                                                                                                                                                                        
+       chown -R 0:0 ${pkgdir}                                                                                                                                                                                                   
+    install -dm 755 "${pkgdir}/usr/bin"                                                                                                                                                                                         
+    ln -s "/opt/${_pkgname}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"                                                                                                                                                        
 }