summaryrefslogtreecommitdiff
path: root/extra/botan
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-12 00:04:35 +0000
committerroot <root@rshg054.dnsready.net>2012-07-12 00:04:35 +0000
commit00d32b0938eebfa45f0543cae655abf5233eb99c (patch)
tree7528e734c1f6f955da0baca5909906e797562c09 /extra/botan
parentb44e3e7f16abe5e4cb428571db65d300b7cc44be (diff)
Thu Jul 12 00:04:34 UTC 2012
Diffstat (limited to 'extra/botan')
-rw-r--r--extra/botan/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/extra/botan/PKGBUILD b/extra/botan/PKGBUILD
index 525f79992..51603c0fc 100644
--- a/extra/botan/PKGBUILD
+++ b/extra/botan/PKGBUILD
@@ -1,28 +1,32 @@
-# $Id: PKGBUILD 145616 2011-12-24 05:45:52Z angvp $
+# $Id: PKGBUILD 163218 2012-07-11 00:19:22Z eric $
# 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.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 {} \;
}