summaryrefslogtreecommitdiff
path: root/community/botan
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/botan
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/botan')
-rw-r--r--community/botan/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/botan/PKGBUILD b/community/botan/PKGBUILD
new file mode 100644
index 000000000..190945b06
--- /dev/null
+++ b/community/botan/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 87983 2013-04-09 20:48:46Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Angel Velasquez <angvp@archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
+# Contributor: d'Ronin <daronin@2600.com>
+
+pkgname=botan
+pkgver=1.10.5
+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://files.randombit.net/botan/Botan-${pkgver}.tbz")
+sha256sums=('2934c00533847dc93c485081d3ce6aae4a110151a69b587b895241159da77cf3')
+
+build() {
+ cd "$srcdir/Botan-$pkgver"
+
+ sed -i 's:env python:env python2:' configure.py
+ ./configure.py --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/Botan-$pkgver"
+
+ make DESTDIR="$pkgdir/usr" install
+ install -Dm644 doc/license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ find "$pkgdir/usr/share/doc" -type f -exec chmod 0644 {} \;
+}
+
+# vim:set ts=2 sw=2 et: