diff options
author | M0Rf30 | 2017-07-27 14:42:02 +0200 |
---|---|---|
committer | M0Rf30 | 2017-07-27 14:42:02 +0200 |
commit | a629fc04cb12ae669c017664ca61ea3b024a099f (patch) | |
tree | 262acc3890f64714c64eb83f1610e5ce0dbad882 | |
download | aur-a629fc04cb12ae669c017664ca61ea3b024a099f.tar.gz |
hyperledger-fabric-chaintool: 1.0.0
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..041a80ce0e50 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Thu Jul 27 12:41:55 UTC 2017 +pkgbase = hyperledger-fabric-chaintool + pkgdesc = An utility to assist in various phases of Hyperledger Fabric chaincode development, such as compilation, test, packaging, and deployment + pkgver = 1.0.0 + pkgrel = 1 + url = https://github.com/hyperledger/fabric + arch = x86_64 + groups = hyperledger-fabric + license = APACHE + makedepends = leiningen + depends = go + depends = protobuf + depends = java-environment + source = https://github.com/hyperledger/fabric-chaintool/archive/v1.0.0.tar.gz + md5sums = fe3978e3dc30c8588ed8fcacea8e4606 + +pkgname = hyperledger-fabric-chaintool + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..742fcbe555db --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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" +license=('APACHE') +groups=('hyperledger-fabric') +depends=('go' 'protobuf' 'java-environment') +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') |