# $Id: PKGBUILD 109628 2014-04-17 07:16:15Z fyan $ # Maintainer: Alexander Rødseth # Contributor: Angel Velasquez # Contributor: Douglas Soares de Andrade # Contributor: d'Ronin pkgname=botan pkgver=1.10.8 pkgrel=1 pkgdesc='Crypto library written in C++' license=('BSD') arch=('x86_64' 'i686') url='http://botan.randombit.net/' depends=('gcc-libs' 'sh') makedepends=('python2') source=("http://files.randombit.net/botan/Botan-${pkgver}.tbz") sha256sums=('bc2fd5fe904bba7cd688df021689f53a2d2f87ae728b647196a6b5954d184ea0') build() { cd "Botan-$pkgver" python2 configure.py --prefix=/usr make } package() { cd "Botan-$pkgver" 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" } # vim:set ts=2 sw=2 et: