Date: Sunday, January 27, 2013 @ 17:10:24 Author: pierre Revision: 83128
archrelease: copy trunk to community-i686, community-x86_64 Added: botan/repos/community-i686/ botan/repos/community-i686/PKGBUILD (from rev 83127, botan/trunk/PKGBUILD) botan/repos/community-x86_64/ botan/repos/community-x86_64/PKGBUILD (from rev 83127, botan/trunk/PKGBUILD) ---------------------------+ community-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ community-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) Copied: botan/repos/community-i686/PKGBUILD (from rev 83127, botan/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-01-27 16:10:24 UTC (rev 83128) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Angel Velasquez <an...@archlinux.org> +# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> +# Contributor: d'Ronin <daro...@2600.com> + +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 {} \; +} + Copied: botan/repos/community-x86_64/PKGBUILD (from rev 83127, botan/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-01-27 16:10:24 UTC (rev 83128) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Angel Velasquez <an...@archlinux.org> +# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> +# Contributor: d'Ronin <daro...@2600.com> + +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 {} \; +} +