blob: 6a2e50561cff3b00c4a871eaf5e411f4df4463fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Luis Aranguren <pizzaman@hotmail.com>
_pkgname=BlockstreamGreen
_upkgname=green
pkgname=blockstream-green-appimage
pkgver=2.0.15
pkgrel=1
pkgdesc="Blockstream Green is a non-custodial Bitcoin wallet, compatible with Blockstream Jade hardware wallet"
arch=('x86_64')
url="https://blockstream.com/green/"
license=('GPL3')
depends=('hicolor-icon-theme' 'zlib' 'fuse' 'gtk3')
makedepends=('p7zip')
noextract=("$_pkgname-$pkgver.AppImage")
install="${pkgname}.install"
options=('!strip' '!debug')
source=($_pkgname-$arch-$pkgver.AppImage::"https://github.com/Blockstream/green_qt/releases/download/release_$pkgver/$_pkgname-$arch.AppImage")
sha256sums=('99764bb26882a25a20fc7729ce076d2396370005a050d327fdb633fc51e4aeae')
prepare() {
cd "${srcdir}"
7z x "${srcdir}/$_pkgname-$arch-$pkgver.AppImage" usr/share/applications/$_upkgname.desktop usr/share/icons/hicolor/512x512/apps/$_upkgname.png
}
package() {
cd "${srcdir}"
install -Dm755 "$_pkgname-$arch-$pkgver.AppImage" "${pkgdir}/opt/$_upkgname/$_upkgname.AppImage"
install -Dm644 "${srcdir}/usr/share/applications/$_upkgname.desktop" "${pkgdir}/usr/share/applications/$_upkgname.desktop"
install -Dm644 "${srcdir}/usr/share/icons/hicolor/512x512/apps/$_upkgname.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/$_upkgname.png"
mkdir "${pkgdir}/usr/bin"
ln -s "/opt/$_upkgname/$_upkgname.AppImage" "${pkgdir}/usr/bin/$_upkgname"
}
|