pkgname=botan _pkgname=Botan pkgver=3.4.0 pkgrel=1 pkgdesc='Botan (Japanese for peony flower) is a C++ cryptography.' arch=('x86_64') url='https://botan.randombit.net/' license=('BSD') depends=('python3' 'sqlite' 'xz' 'zlib') #makedepends=('openssl') source=("https://botan.randombit.net/releases/${_pkgname}-${pkgver}.tar.xz") sha256sums=('71843afcc0a2c585f8f33fa304f0b58ae4b9c5d8306f894667b3746044277557') build() { cd ${_pkgname}-${pkgver} ./configure.py \ --prefix=/usr \ --with-bzip \ --with-lzma \ --with-zlib \ --with-sqlite3 \ --with-os-feature='getrandom, getentropy' \ --distribution-info=KaOS \ --disable-static-library make } package() { cd ${_pkgname}-${pkgver} make DESTDIR=${pkgdir} install install -Dm644 license.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }