diff options
author | root <root@rshg054.dnsready.net> | 2013-01-28 00:05:59 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-01-28 00:05:59 -0800 |
commit | 1b9f6dc846379470b620b5dbb9d4d7acd1de148c (patch) | |
tree | 2305b950a3c94970b05c1a38af473f5cca95af02 /community/botan/PKGBUILD | |
parent | b9b96ada56ad38df20b1e528a095a1e86ab67a2b (diff) |
Mon Jan 28 00:05:59 PST 2013
Diffstat (limited to 'community/botan/PKGBUILD')
-rw-r--r-- | community/botan/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
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 <angvp@archlinux.org> +# Contributor: Douglas Soares de Andrade <douglas@archlinux.org> +# Contributor: d'Ronin <daronin@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 {} \; +} + |