New Paste

 

Recent Pastes

Administrate




Pastebin on paste.luisaranguren.com

PasteID: k
Pasted by Anonymous, 2021-12-21 07:53:51 GMT
Expires Never
Paste size 1.77 Kb
Tools Raw   Download
 
  1. # Maintainer: Luis Aranguren <pizzaman@hotmail.com>  
  2.   
  3. _pkgname=BlockstreamGreen  
  4. _upkgname=green  
  5. pkgname=blockstream-green-appimage  
  6. pkgver=1.0.4  
  7. pkgrel=1  
  8. pkgdesc="Blockstream Green is a non-custodial Bitcoin wallet, compatible with Blockstream Jade hardware wallet"  
  9. arch=('x86_64')  
  10. url="https://blockstream.com/green/"  
  11. license=('GPL3')  
  12. depends=('hicolor-icon-theme' 'zlib' 'fuse' 'gtk3')  
  13. makedepends=('p7zip')  
  14. noextract=("$_pkgname-$pkgver.AppImage")  
  15. install="${pkgname}.install"  
  16. options=('!strip')  
  17. validpgpkeys=('')  
  18.   
  19. source=("https://github.com/Blockstream/green_qt/releases/download/release_$pkgver/$_pkgname-$arch.AppImage"  
  20.         "$_pkgname-$arch.AppImage::https://github.com/Blockstream/green_qt/releases/download/release_$pkgver/SHA256SUMS.asc"  
  21.        )  
  22. sha256sums=('95a080bcbbd1388e58bb726aac8fc43678a9a9ad2d83e254cab9b3716095469d'  
  23.             'SKIP')  
  24.   
  25. prepare() {  
  26.     cd "${srcdir}"  
  27.     7z x "${srcdir}/$_pkgname-$arch.AppImage" usr/share/applications/$_upkgname.desktop usr/share/icons/hicolor/512x512/apps/$_upkgname.png  
  28. #    sed -i "s/Exec=AppRun/Exec=\/usr\/bin\/$_upkgname/" $_upkgname.desktop  
  29. }  
  30.   
  31. package() {  
  32.     cd "${srcdir}"  
  33.     install -Dm755 "$_pkgname-$arch.AppImage"                                        "${pkgdir}/opt/$_upkgname/$_upkgname.AppImage"  
  34.     install -Dm644 "${srcdir}/usr/share/applications/$_upkgname.desktop"             "${pkgdir}/usr/share/applications/$_upkgname.desktop"  
  35.     install -Dm644 "${srcdir}/usr/share/icons/hicolor/512x512/apps/$_upkgname.png"   "${pkgdir}/usr/share/icons/hicolor/512x512/apps/$_upkgname.png"  
  36.     mkdir "${pkgdir}/usr/bin"  
  37.     ln -s "/opt/$_upkgname/$_upkgname.AppImage"                                      "${pkgdir}/usr/bin/$_upkgname"  
  38. }  
  39.  

 
 

 
 
 
 
 
Written by Xan Manning, 2010.