summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 67f3ad94fe155b1af122b286d485c149d09347ab (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
# Maintainer: robertfoster

_pkgname=fabric-chaintool
pkgname=hyperledger-${_pkgname}
pkgver=1.1.3
pkgrel=1
pkgdesc="An utility to assist in various phases of Hyperledger Fabric chaincode development, such as compilation, test, packaging, and deployment"
arch=(x86_64)
url="https://github.com/hyperledger/fabric-chaintool"
license=('APACHE')
groups=('hyperledger')
depends=('go' 'protobuf' 'jdk8-openjdk')
makedepends=('leiningen')
source=("https://github.com/hyperledger/fabric-chaintool/archive/v$pkgver.tar.gz")

build() {
  cd $srcdir/${_pkgname}-$pkgver
  make
}

package() {
  cd $srcdir/${_pkgname}-$pkgver
  make PREFIX=$pkgdir/usr BINDIR=/bin install
}

md5sums=('6cf951e8d089e21ca390670fc571fb5c')