From 5f8be8afc4fa0e9f6166cf6acab79572b96aa9e8 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 18 Oct 2015 15:30:41 +0000 Subject: [PATCH] community/botan to 1.11.21-1 --- community/botan/PKGBUILD | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/community/botan/PKGBUILD b/community/botan/PKGBUILD index a79a286fa..133c5b100 100644 --- a/community/botan/PKGBUILD +++ b/community/botan/PKGBUILD @@ -1,5 +1,5 @@ # $Id: PKGBUILD 87983 2013-04-09 20:48:46Z arodseth $ -# Maintainer: Alexander Rødseth +# Maintainer: Alexander F Rødseth # Contributor: Angel Velasquez # Contributor: Douglas Soares de Andrade # Contributor: d'Ronin @@ -11,18 +11,18 @@ # - AArch64 patch pkgname=botan -pkgver=1.11.20 +pkgver=1.11.21 pkgrel=1 pkgdesc='Crypto library written in C++' license=('BSD') arch=('x86_64' 'i686') url='http://botan.randombit.net/' depends=('gcc-libs' 'sh' 'asio') -makedepends=('python2' 'asio' 'git') +makedepends=('python' 'asio' 'git') #source=("git://github.com/randombit/botan.git#commit=8e19ecf11c" source=("http://botan.randombit.net/releases/Botan-${pkgver}.tgz"{,.asc} '0001-aarch64-support.patch') -md5sums=('18dc2498cbcef88b553faca8eb5fac49' +md5sums=('f8cb3f2d112685550d88434210136a58' 'SKIP' '37165d2a365dd2e9d779b89fa55ba77b') # Botan Distribution Key. To import: gpg --import botan.key @@ -32,9 +32,6 @@ prepare() { cd "${pkgname^}-$pkgver" patch -p1 -i ../0001-aarch64-support.patch - - # Use python2 for the installation scripts - find src/scripts -name '*.py' -exec sed -i -e '1s,python$,python2,' {} + } build() { @@ -52,15 +49,20 @@ build() { CPU='arm/armv5te' fi - python2 configure.py \ + python configure.py \ --prefix=/usr \ - --enable-modules=cvc \ --destdir="$pkgdir/usr" \ --cpu=$CPU make } +check() { + cd "${pkgname^}-$pkgver" + + ./botan-test +} + package() { cd "${pkgname^}-$pkgver" make DESTDIR="$pkgdir/usr" install