# Maintainer: Luis Martinez # Contributor: Mykyta Poturai pkgname=libthemis pkgver=0.15.2 pkgrel=1 pkgdesc="Open-source high-level cryptographic services library." url="https://github.com/cossacklabs/themis" arch=('x86_64') license=('Apache-2.0') depends=('openssl') provides=('libthemis.so' 'libsoter.so') changelog= source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz" "makefile-ldconfig.patch") sha256sums=('ae1e7d7d20528c2ea627a863f9dc70a7e024069d80e563539bdefafecf5ec1fb' '5378f6535e5c2bd44d72d0f7b461307135578a656dd8f64c54367bc0a1e12a1f') prepare() { cd "themis-$pkgver" patch -p1 -i "$srcdir/makefile-ldconfig.patch" } build() { cd "themis-$pkgver" make } check() { cd "themis-$pkgver" make test } package() { cd "themis-$pkgver" make install PREFIX="$pkgdir/usr/" }