community/botan to 2.8.0-1

This commit is contained in:
Kevin Mihelich 2018-10-27 16:49:06 +00:00
parent 19c71484e8
commit e7b177fcaf

View file

@ -11,8 +11,8 @@
# - disable neon on !AArch64
pkgname=botan
pkgver=2.7.0
pkgrel=2
pkgver=2.8.0
pkgrel=1
pkgdesc='Crypto library written in C++'
arch=('x86_64')
url='https://botan.randombit.net/'
@ -22,7 +22,7 @@ optdepends=('python: for using botan2.py')
validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC')
source=("https://botan.randombit.net/releases/Botan-${pkgver}.tgz"{,.asc}
'0001-aarch64-support.patch')
sha256sums=('e42df91556317588c6ca0e41bf796f9bd5ec5c70e0668e6c97c608c697c24a90'
sha256sums=('e7159b127e91e0c158245d61c638c50d443ec7b440b6b0161328c47b3aba3960'
'SKIP'
'0e279e3b16e115e26f5dc1edf02a4082f063134513aaf6ad1fbd10a1d2624e37')
@ -37,12 +37,12 @@ build() {
[[ $CARCH != "aarch64" ]] && CONFIG="--disable-neon"
# botan benefits from -O3, and upstream devs are running benchmarks with it
# botan benefits from -O3. Upstream is using it.
CXXFLAGS="$CXXFLAGS -O3" ./configure.py \
--prefix=/usr \
--with-bzip \
--with-zlib \
--with-lzma \
--with-zlib \
$CONFIG
make
}