summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: efce20c86d32e3004c33c5292187feeab3e5d2d1 (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: M0Rf30

_pkgname=fabric-chaintool
pkgname=hyperledger-${_pkgname}
pkgver=1.0.0
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-fabric')
depends=('go' 'protobuf' 'jre8-openjdk-headless')
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=('fe3978e3dc30c8588ed8fcacea8e4606')