# $Id$ # Maintainer: Daniel Maslowski # Contributor: Alexander F Rødseth # Contributor: Angel Velasquez # Contributor: Douglas Soares de Andrade # Contributor: d'Ronin # Contributor: Hexchain Tong pkgname=botan-with-compression _pkgname=botan pkgver=2.4.0 pkgrel=1 pkgdesc='Crypto library written in C++, built with compression support' arch=('x86_64') url='https://botan.randombit.net/' license=('BSD') depends=('gcc-libs' 'sh') makedepends=('python') conflicts=('botan') validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC') source=("https://botan.randombit.net/releases/Botan-${pkgver}.tgz"{,.asc}) sha256sums=('ed9464e2a5cfee4cd3d9bd7a8f80673b45c8a0718db2181a73f5465a606608a5' 'SKIP') build() { cd "${_pkgname^}-$pkgver" ./configure.py --prefix=/usr --with-bzip --with-zlib make } check() { cd "${_pkgname^}-$pkgver" ./botan-test } package() { cd "${_pkgname^}-$pkgver" make DESTDIR="$pkgdir" install install -Dm644 license.txt "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" } # getver: github.com/randombit/botan # vim: ts=2 sw=2 et: