blob: 1eca48aaf5afb6b0f67ca7bfb56345e475ee9ad7 (
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
pkgver=1.16.0
pkgrel=1
pkgdesc="Shared crypto library for Hyperledger Indy components"
arch=(i686 x86_64)
url="https://github.com/hyperledger/indy-sdk"
license=('APACHE')
depends=('libsodium' 'openssl' 'sqlite3')
makedepends=('cmake' 'pkg-config' 'rust')
source=("https://github.com/hyperledger/indy-sdk/archive/v$pkgver.tar.gz")
build() {
cd $srcdir/indy-sdk-$pkgver
cd libindy
cargo build --release
}
package() {
cd $srcdir/indy-sdk-$pkgver
cd libindy
install -Dm755 target/release/libindy.so "$pkgdir/usr/lib/libindy.so"
install -d 755 $pkgdir/usr/include/indy/
cp include/*.h $pkgdir/usr/include/indy/
}
sha256sums=('63e42389cd53c66574b8af0979d6ff7acfb5ff0da7a9d5bf37c789ac99ca0dd4')
|