blob: 13277acebcd5871fb0db669d98ce6f67fa9e3736 (
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
|
# Maintainer: Kyle Manna <kyle [at] kylemanna [dot] com>
pkgname=helium-wallet
_pkgname=helium-wallet-rs
pkgdesc='Helium Wallet'
license=('Apache')
url='https://github.com/helium/helium-wallet-rs'
pkgver=1.6.10
pkgrel=1
arch=('x86_64')
depends=(
'rust'
'cargo'
'openssl'
)
makedepends=(
'cmake'
'clang'
)
source=(
"https://github.com/helium/${_pkgname}/archive/refs/tags/v${pkgver}.tar.gz"
)
sha512sums=('67e020d580730954358ae7c040461d365a046b78d149997a09b25b97d03f3b836b4ae20203eee387e12773e893cd1ddc19202bf736c24c63b238932631421301')
build() {
cd ${_pkgname}-${pkgver}
RUSTUP_TOOLCHAIN=stable cargo build --release --locked --all-features --target-dir=target
}
check() {
cd ${_pkgname}-${pkgver}
RUSTUP_TOOLCHAIN=stable cargo test --locked --target-dir=target
}
package() {
cd ${_pkgname}-${pkgver}
install -Dt "$pkgdir/usr/bin/" bin/helium-wallet
}
|