Date: Sunday, October 18, 2015 @ 16:46:42 Author: arodseth Revision: 144327
upgpkg: botan 1.11.21-1 Modified: botan/trunk/PKGBUILD ----------+ PKGBUILD | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-10-18 14:46:12 UTC (rev 144326) +++ PKGBUILD 2015-10-18 14:46:42 UTC (rev 144327) @@ -1,5 +1,5 @@ # $Id$ -# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Maintainer: Alexander F Rødseth <xypr...@archlinux.org> # Contributor: Angel Velasquez <an...@archlinux.org> # Contributor: Douglas Soares de Andrade <doug...@archlinux.org> # Contributor: d'Ronin <daro...@2600.com> @@ -6,7 +6,7 @@ # Contributor: Hexchain Tong <richard0...@gmail.com> pkgname=botan -pkgver=1.11.20 +pkgver=1.11.21 pkgrel=1 pkgdesc='Crypto library written in C++' license=('BSD') @@ -13,31 +13,29 @@ arch=('x86_64' 'i686') url='http://botan.randombit.net/' depends=('gcc-libs' 'sh' 'asio') -makedepends=('python2' 'asio' 'git') +makedepends=('python' 'asio' 'git') source=("http://botan.randombit.net/releases/Botan-${pkgver}.tgz"{,.asc}) #source=("git://github.com/randombit/botan.git#commit=8e19ecf11c") -md5sums=('18dc2498cbcef88b553faca8eb5fac49' +md5sums=('f8cb3f2d112685550d88434210136a58' 'SKIP') # Botan Distribution Key. To import: gpg --import botan.key validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC') -prepare() { - cd "${pkgname^}-$pkgver" - - # Use python2 for the installation scripts - find src/scripts -name '*.py' -exec sed -i -e '1s,python$,python2,' {} + -} - build() { cd "${pkgname^}-$pkgver" - python2 configure.py \ + python configure.py \ --prefix=/usr \ - --enable-modules=cvc \ --destdir="$pkgdir/usr" make } +check() { + cd "${pkgname^}-$pkgver" + + ./botan-test +} + package() { cd "${pkgname^}-$pkgver"