blob: 5ed6e69e7c2d6e8921c12a5460407a3aeb3658e2 (
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
27
28
|
# Maintainer: robertfoster
pkgname=libindy-crypto
pkgver=0.1.6
pkgrel=1
pkgdesc="Shared crypto library for Hyperledger Indy components"
arch=(i686 x86_64)
url="https://github.com/hyperledger/indy-crypto"
license=('APACHE')
depends=('libsodium')
makedepends=('rust')
source=("https://github.com/hyperledger/indy-crypto/archive/master.zip")
build() {
cd $srcdir/indy-crypto-master
cd $pkgname
cargo build --release
}
package() {
cd $srcdir/indy-crypto-master
cd $pkgname
install -Dm755 target/release/libindy_crypto.so "$pkgdir/usr/lib/libindy_crypto.so"
install -d 755 $pkgdir/usr/include/indy_crypto/
cp include/*.h $pkgdir/usr/include/indy_crypto
}
md5sums=('SKIP')
|