blob: 0f0a8bef0ba43ccf323cacae96f3894a1c0ee079 (
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
|
# Maintainer: Nicola Squartini <tensor5@gmail.com>
pkgname=grin-git
pkgver=r1797.8a76b374
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')
conflicts=('grin')
provides=('grin')
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
}
|