community/botan to 2.13.0-1

This commit is contained in:
Kevin Mihelich 2020-01-07 19:00:20 +00:00
parent 2a1ef0f44b
commit ca8893e0ed

View file

@ -9,8 +9,8 @@
# - disable neon on !AArch64
pkgname=botan
pkgver=2.12.1
pkgrel=2
pkgver=2.13.0
pkgrel=1
pkgdesc='Crypto library written in C++'
arch=(x86_64)
url='https://botan.randombit.net/'
@ -19,7 +19,7 @@ makedepends=(python)
optdepends=('python: for using botan2.py')
validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC')
source=("https://botan.randombit.net/releases/Botan-${pkgver}.tar.xz"{,.asc})
sha256sums=('7e035f142a51fca1359705792627a282456d49749bf62a37a8e48375d41baaa9'
sha256sums=('f57ae42a41e1091bca58f44f41addebd9a390b651603952c881ec89d50187e90'
'SKIP')
build() {
@ -27,9 +27,7 @@ build() {
[[ $CARCH != "aarch64" ]] && CONFIG="--disable-neon"
# botan benefits from -O3. Upstream is using it when testing.
CXXFLAGS="$CXXFLAGS -O3" \
./configure.py \
./configure.py \
--prefix=/usr \
--with-bzip \
--with-lzma \
@ -51,6 +49,3 @@ package() {
install -Dm644 "${pkgname^}-$pkgver/license.txt" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# getver: github.com/randombit/botan
# vim: ts=2 sw=2 et: