diff --git a/botan/PKGBUILD b/botan/PKGBUILD index 3d74e4ae47..7b99ab322d 100644 --- a/botan/PKGBUILD +++ b/botan/PKGBUILD @@ -8,8 +8,8 @@ # Contributor: Jack Lloyd pkgname=botan -pkgver=3.4.0 -pkgrel=2 +pkgver=3.5.0 +pkgrel=1 pkgdesc='Crypto library written in C++' arch=(x86_64 powerpc64le powerpc64 powerpc riscv64) url='https://botan.randombit.net/' @@ -25,7 +25,7 @@ makedepends=(boost optdepends=('boost-libs: for the botan executable' 'python: for using botan2.py') source=(https://botan.randombit.net/releases/Botan-${pkgver}.tar.xz{,.asc}) -sha256sums=('71843afcc0a2c585f8f33fa304f0b58ae4b9c5d8306f894667b3746044277557' +sha256sums=('67e8dae1ca2468d90de4e601c87d5f31ff492b38e8ab8bcbd02ddf7104ed8a9f' 'SKIP') validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC') # Botan Distribution Key @@ -33,7 +33,15 @@ build() { cd ${pkgname^}-$pkgver case "${CARCH}" in - powerpc|powerpc64) + powerpc) + _configure_options=( + --disable-altivec + --disable-powercrypto + ) + ;; + powerpc64) + export CFLAGS="-O2 -pipe" + export CXXFLAGS="-O2 -pipe" _configure_options=( --disable-altivec --disable-powercrypto