diff options
Diffstat (limited to 'testing/botan')
-rw-r--r-- | testing/botan/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/botan/PKGBUILD b/testing/botan/PKGBUILD new file mode 100644 index 000000000..2d05b70e8 --- /dev/null +++ b/testing/botan/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 128341 2011-06-23 05:31:14Z angvp $ +# Maintainer: Angel Velasquez <angvp@archlinux.org> +# Contributor: Douglas Soares de Andrade <douglas@archlinux.org> +# Contributor: d'Ronin <daronin@2600.com> +pkgname=botan +pkgver=1.10.0 +pkgrel=1 +pkgdesc="BSD-licensed crypto library written in C++" +license=('BSD') +arch=('i686' 'x86_64') +url="http://botan.randombit.net/" +depends=('gcc-libs' 'sh') +makedepends=('python2') +source=(http://files.randombit.net/botan/Botan-${pkgver}.tgz) +md5sums=('1f03a6a84f402a12e50665868dddae99') + +build() { + cd ${srcdir}/Botan-${pkgver} + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' configure.py + ./configure.py --prefix=/usr + make +} + +package() { + cd ${srcdir}/Botan-${pkgver} + make DESTDIR=${pkgdir}/usr install +} + |