summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorM0Rf302018-01-29 13:57:49 +0100
committerM0Rf302018-01-29 13:57:49 +0100
commit74782bf14064cc5681cf255a8e869b75ba830e3c (patch)
tree2a78ad570030edb24ab6161ccfb54805965052df
parentcce40cae9eb2b77e016804809907ea6dcf13f46e (diff)
downloadaur-74782bf14064cc5681cf255a8e869b75ba830e3c.tar.gz
libindy-crypto: deps
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1eca03219cf9..02b28e113f65 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,6 +7,7 @@ pkgbase = libindy-crypto
arch = x86_64
license = APACHE
makedepends = rust
+ depends = libsodium
source = https://github.com/hyperledger/indy-crypto/archive/master.zip
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 91f2d4e68f23..5ed6e69e7c2d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgdesc="Shared crypto library for Hyperledger Indy components"
arch=(i686 x86_64)
url="https://github.com/hyperledger/indy-crypto"
license=('APACHE')
-depends=('')
+depends=('libsodium')
makedepends=('rust')
source=("https://github.com/hyperledger/indy-crypto/archive/master.zip")
@@ -21,7 +21,8 @@ package() {
cd $srcdir/indy-crypto-master
cd $pkgname
install -Dm755 target/release/libindy_crypto.so "$pkgdir/usr/lib/libindy_crypto.so"
- cp -r include $pkgdir/usr/include/indy_crypto
+ install -d 755 $pkgdir/usr/include/indy_crypto/
+ cp include/*.h $pkgdir/usr/include/indy_crypto
}
md5sums=('SKIP')