diff options
author | Nicola Squartini | 2019-01-14 15:04:57 +0100 |
---|---|---|
committer | Nicola Squartini | 2019-01-14 15:04:57 +0100 |
commit | 7a8dd6799034f6a756a5850c33d016fae26cf809 (patch) | |
tree | 9af340754c1eb33f8c139715c7ab1e8497ced659 | |
download | aur-7a8dd6799034f6a756a5850c33d016fae26cf809.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ae8b0c87382b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = grin + pkgdesc = Minimal implementation of the MimbleWimble protocol + pkgver = 0.5.2 + pkgrel = 1 + url = https://github.com/mimblewimble/grin + arch = i686 + arch = x86_64 + license = Apache + makedepends = clang + makedepends = git + makedepends = rust + depends = ncurses + source = git+https://github.com/mimblewimble/grin.git#commit=60d3ee3c441af7036994a2a7bba8e47285ae70b0 + sha256sums = SKIP + +pkgname = grin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9a63fef25d05 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Nicola Squartini <tensor5@gmail.com> + +pkgname=grin +pkgver=0.5.2 +_commit=60d3ee3c441af7036994a2a7bba8e47285ae70b0 +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#commit=${_commit}") +sha256sums=('SKIP') + +build() { + cd ${pkgname} + + cargo build --release +} + +package() { + cd ${pkgname} + + install -Dm755 -t "${pkgdir}/usr/bin" target/release/grin +} + |