[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Fri Jan 6 09:50:54 UTC 2017


    Date: Friday, January 6, 2017 @ 09:50:53
  Author: felixonmars
Revision: 205725

addpkg: botan1.10 1.10.13-1

Added:
  botan1.10/
  botan1.10/repos/
  botan1.10/trunk/
  botan1.10/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Added: botan1.10/trunk/PKGBUILD
===================================================================
--- botan1.10/trunk/PKGBUILD	                        (rev 0)
+++ botan1.10/trunk/PKGBUILD	2017-01-06 09:50:53 UTC (rev 205725)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: drakkan <nicola.murino at gmail.com>
+
+pkgname=botan1.10
+pkgver=1.10.13
+pkgrel=1
+pkgdesc='Crypto library written in C++ - old stable branch'
+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=('23ec973d4b4a4fe04f490d409e08ac5638afe3aa09acd7f520daaff38ba19b90')
+
+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:



More information about the arch-commits mailing list