From de855f961f2b80778bc1a3fbcd8c898ee5bf792f Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Thu, 21 May 2015 18:44:12 -0500 Subject: botan-1.10: add new package to [pcr] --- pcr/botan-1.10/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pcr/botan-1.10/PKGBUILD (limited to 'pcr') diff --git a/pcr/botan-1.10/PKGBUILD b/pcr/botan-1.10/PKGBUILD new file mode 100644 index 000000000..cb4af0cef --- /dev/null +++ b/pcr/botan-1.10/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer (Arch): drakkan +# Contributor (Arch): drakkan +# Maintainer: Omar Vega Ramos + +pkgname=botan-1.10 +pkgver=1.10.9 +pkgrel=1 +pkgdesc='Crypto library written in C++' +license=('BSD') +arch=('x86_64' 'i686') +url='http://botan.randombit.net/' +depends=('gcc-libs' 'sh') +makedepends=('python2') +source=("http://botan.randombit.net/releases/Botan-${pkgver}.tgz") +sha256sums=('487d27d3a081ae403cf87c0fc78c2a64183f001b48f9feb87e8de1e16fba8df2') + +build() { + cd "Botan-$pkgver" + + python2 configure.py --prefix=/usr --enable-modules=cvc + make +} + +package() { + cd "Botan-$pkgver" + + make DESTDIR="$pkgdir/usr" install + find "$pkgdir/usr/share/doc" -type f -exec chmod 0644 {} \; + install -Dm644 doc/license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3