Date: Sunday, August 2, 2015 @ 19:24:46 Author: arodseth Revision: 137735
upgpkg: botan 1.11.18-1 Modified: botan/trunk/PKGBUILD ----------+ PKGBUILD | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-08-02 17:18:57 UTC (rev 137734) +++ PKGBUILD 2015-08-02 17:24:46 UTC (rev 137735) @@ -6,7 +6,7 @@ # Contributor: Hexchain Tong <richard0...@gmail.com> pkgname=botan -pkgver=1.11.16 +pkgver=1.11.18 pkgrel=1 pkgdesc='Crypto library written in C++' license=('BSD') @@ -13,31 +13,26 @@ arch=('x86_64' 'i686') url='http://botan.randombit.net/' depends=('gcc-libs' 'sh' 'asio') -makedepends=('python2' 'asio') -source=("http://botan.randombit.net/releases/Botan-${pkgver}.tgz"{,.asc}) -sha256sums=('a31a4e5e874aee6d1a5242b153b4ad7d2b2dda575d30f857bd317110ae3c6a7c' - 'SKIP') -validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC') # Botan Distribution Key +makedepends=('python2' 'asio' 'git') +#source=("http://botan.randombit.net/releases/Botan-${pkgver}.tgz"{,.asc}) +source=("git://github.com/randombit/botan.git#commit=8e19ecf11c") +md5sums=('SKIP') +# Botan Distribution Key. To import: gpg --import botan.key +#validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC') -# To import the key: gpg --import botan.key - prepare() { - cd "Botan-$pkgver/src" - # Use python2 for the installation scripts - find scripts -name '*.py' -exec sed -i -e '1s,python$,python2,' {} + + find botan/src/scripts -name '*.py' -exec sed -i -e '1s,python$,python2,' {} + } build() { - cd "Botan-$pkgver" - + cd botan python2 configure.py --prefix=/usr --enable-modules=cvc --destdir="$pkgdir/usr" - make + make } package() { - cd "Botan-$pkgver" - + cd botan make DESTDIR="$pkgdir/usr" install find "$pkgdir/usr/share/doc" -type f -exec chmod 0644 {} \; install -Dm644 doc/license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"