blob: abe136a4f2d6d206dc6b01da9ab3123c51ecf713 (
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
34
35
36
37
38
39
40
41
|
# Maintainer: Luis Aranguren <pizzaman@hotmail.com>
pkgname='nunchuk-desktop-appimage'
_pkgname='nunchuk-desktop'
__pkgname='nunchuk-linux'
___pkgname='nunchuk'
pkgver=1.9.39
pkgrel=1
pkgdesc="Desktop bitcoin wallet with multisig, hardware, nfc and air-gapped key support"
arch=('x86_64')
url="https://nunchuk.io/"
license=('GPL3')
depends=('hicolor-icon-theme' 'zlib' 'fuse' 'gtk3')
makedepends=('p7zip')
optdepends=('bitbox-udev: Udev rules for Bitbox hardware wallet support'
'keepkey-udev: Udev rules for Keepkey hardware wallet support'
# 'blockstream-jade-udev: Udev rules for Blockstream Jade hardware wallet support'
'ledger-udev: Udev rules for Ledger hardware wallet support'
'python-ckcc-protocol: Udev rules for Coinkite Coldcard hardware wallet support'
'trezor-udev: Udev rules for Trezor hardware wallet support')
provides=('nunchuk-qt')
options=('!strip')
source=("https://github.com/nunchuk-io/$_pkgname/releases/download/$pkgver/$__pkgname-v$pkgver.zip")
sha256sums=('a614101119d1c716cdb4424224d611d3ea865669f8ba3f09c45293821af05f61')
#validpgpkeys=('8C8ECD3F660CA53CD878792A6E38A462ED2EF525') # Ta Tat Tai (Nunchuk binary release signing key) <tatattai@gmail.com>
prepare() {
cd "${srcdir}"
7z x "${srcdir}/$__pkgname-${pkgver}/$__pkgname-${pkgver}.AppImage" $___pkgname-qt.desktop $___pkgname-qt.png
}
package() {
cd "${srcdir}"
install -Dm755 "$__pkgname-${pkgver}/$__pkgname-${pkgver}.AppImage" "${pkgdir}/opt/$_pkgname/$__pkgname-${pkgver}.AppImage"
install -Dm644 "$___pkgname-qt.desktop" "${pkgdir}/usr/share/applications/$___pkgname-qt.desktop"
install -Dm644 "$___pkgname-qt.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/$___pkgname-qt.png"
mkdir "${pkgdir}/usr/bin"
ln -s "/opt/$_pkgname/$__pkgname-${pkgver}.AppImage" "${pkgdir}/usr/bin/$___pkgname-qt"
}
|