Date: Tuesday, July 10, 2012 @ 20:18:59 Author: eric Revision: 163217
upgpkg: botan 1.10.3-1 Upstream update, Fix description, Add license file, Fix perms on docs Modified: botan/trunk/PKGBUILD ----------+ PKGBUILD | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-07-10 22:31:20 UTC (rev 163216) +++ PKGBUILD 2012-07-11 00:18:59 UTC (rev 163217) @@ -2,27 +2,31 @@ # 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.1 +pkgver=1.10.3 pkgrel=1 -pkgdesc="BSD-licensed crypto library written in C++" +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}.tgz) -md5sums=('5e1e7f3458e2e6aa56f7e41941eefb9d') +source=(http://files.randombit.net/botan/Botan-${pkgver}.tbz{,.asc}) +sha1sums=('9f929101bf75c19432f49f57c80d2d26eec91dcb' + 'd03b220849e3d3b3a49363a0debc266b615d9fca') build() { - cd ${srcdir}/Botan-${pkgver} + 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 + 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 {} \; }