community/botan to 2.8.0-2

This commit is contained in:
Kevin Mihelich 2018-11-11 17:55:19 +00:00
parent cf21772324
commit f07ca65a07

View file

@ -1,4 +1,3 @@
# $Id$
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
@ -12,7 +11,7 @@
pkgname=botan
pkgver=2.8.0
pkgrel=1
pkgrel=2
pkgdesc='Crypto library written in C++'
arch=('x86_64')
url='https://botan.randombit.net/'
@ -37,12 +36,13 @@ build() {
[[ $CARCH != "aarch64" ]] && CONFIG="--disable-neon"
# botan benefits from -O3. Upstream is using it.
# botan benefits from -O3. Upstream is using it when testing.
CXXFLAGS="$CXXFLAGS -O3" ./configure.py \
--prefix=/usr \
--with-bzip \
--with-lzma \
--with-zlib \
--with-os-feature=getrandom \
$CONFIG
make
}