summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9060ee06bb0dd8916fc19bd3644cf9075690d708 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: dllud <dllud riseup net>

pkgname=grin-wallet
pkgver=3.1.1
pkgrel=2
pkgdesc="Reference implementation of Grin's wallet."
arch=('i686' 'x86_64')
url='https://github.com/mimblewimble/grin-wallet'
license=('Apache')
optdepends=('tor: for immediate transactions through Tor anonymizing network')
makedepends=('clang' 'git' 'rust')
source=("$pkgname::git+https://github.com/mimblewimble/grin-wallet.git#tag=v${pkgver}")
sha256sums=('SKIP')

build() {
    cd ${pkgname}
    cargo build --release
}

package() {
    cd ${pkgname}
    install -Dm755 -t "${pkgdir}/usr/bin" target/release/grin-wallet
}