From 1b9f6dc846379470b620b5dbb9d4d7acd1de148c Mon Sep 17 00:00:00 2001 From: root Date: Mon, 28 Jan 2013 00:05:59 -0800 Subject: Mon Jan 28 00:05:59 PST 2013 --- community/botan/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 community/botan/PKGBUILD (limited to 'community/botan/PKGBUILD') diff --git a/community/botan/PKGBUILD b/community/botan/PKGBUILD new file mode 100644 index 000000000..762a96f46 --- /dev/null +++ b/community/botan/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 83128 2013-01-27 16:10:24Z pierre $ +# Maintainer: Angel Velasquez +# Contributor: Douglas Soares de Andrade +# Contributor: d'Ronin + +pkgname=botan +pkgver=1.10.3 +pkgrel=1 +pkgdesc="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}.tbz{,.asc}) +sha1sums=('9f929101bf75c19432f49f57c80d2d26eec91dcb' + 'd03b220849e3d3b3a49363a0debc266b615d9fca') + +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 + install -D -m644 doc/license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + find "${pkgdir}/usr/share/doc" -type f -exec chmod 0644 {} \; +} + -- cgit v1.2.3-54-g00ecf