summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1685465a0bff681683027d88d8b58975bb8e13b0 (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.0.1
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=('46c93f9f57411614809cbf751c04a763')