blob: 3656f186466a22e9acdba5233a86d2bfdfbe5023 (
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
|
# Maintainer: Nicola Squartini <tensor5@gmail.com>
pkgname=grin-git
pkgver=r1382.ecb102e4
pkgrel=1
pkgdesc='Minimal implementation of the MimbleWimble protocol'
arch=('i686' 'x86_64')
url='https://github.com/mimblewimble/grin'
license=('Apache')
depends=('ncurses')
makedepends=('clang' 'git' 'rust')
source=('git+https://github.com/mimblewimble/grin.git')
sha256sums=('SKIP')
pkgver() {
cd grin
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd grin
cargo build --release
}
package() {
cd grin
install -Dm755 -t "${pkgdir}/usr/bin" target/release/grin
}
|