summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 795cb9e50e157c42341cd0cf0e0bd3fc799d11cc (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=5.0.3
pkgrel=1
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
}