extra/botan to 2.19.1-1.1

This commit is contained in:
Kevin Mihelich 2022-02-07 03:00:03 +00:00
parent 71af724f4c
commit d4d5565385

View file

@ -6,12 +6,11 @@
# Contributor: Hexchain Tong <richard0053@gmail.com> # Contributor: Hexchain Tong <richard0053@gmail.com>
# Contributor: Jack Lloyd <jack@randombit.net> # Contributor: Jack Lloyd <jack@randombit.net>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org> # remove when bumped upstream
# - disable neon on !AArch64
pkgname=botan pkgname=botan
pkgver=2.19.1 pkgver=2.19.1
pkgrel=1 pkgrel=1.1
pkgdesc='Crypto library written in C++' pkgdesc='Crypto library written in C++'
arch=(x86_64) arch=(x86_64)
url='https://botan.randombit.net/' url='https://botan.randombit.net/'
@ -27,8 +26,6 @@ validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC') # Botan Distribution K
build() { build() {
cd ${pkgname^}-$pkgver cd ${pkgname^}-$pkgver
[[ $CARCH != "aarch64" ]] && CONFIG="--disable-neon"
./configure.py \ ./configure.py \
--prefix=/usr \ --prefix=/usr \
--with-bzip \ --with-bzip \
@ -37,9 +34,7 @@ build() {
--with-boost \ --with-boost \
--with-openssl \ --with-openssl \
--with-sqlite3 \ --with-sqlite3 \
--with-os-feature=getrandom \ --with-os-feature=getrandom
$CONFIG
make make
} }