[arch-commits] Commit in botan/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Thu Apr 5 17:16:55 UTC 2018


    Date: Thursday, April 5, 2018 @ 17:16:55
  Author: arodseth
Revision: 314449

upgpkg: botan 2.5.0-2

Modified:
  botan/trunk/PKGBUILD

----------+
 PKGBUILD |   29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-05 16:26:43 UTC (rev 314448)
+++ PKGBUILD	2018-04-05 17:16:55 UTC (rev 314449)
@@ -4,41 +4,44 @@
 # Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
 # Contributor: d'Ronin <daronin at 2600.com>
 # Contributor: Hexchain Tong <richard0053 at gmail.com>
+# Contributor: Jack Lloyd <jack at randombit.net>
 
 pkgname=botan
 pkgver=2.5.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Crypto library written in C++'
 arch=('x86_64')
 url='https://botan.randombit.net/'
 license=('BSD')
-depends=('gcc-libs' 'sh')
-makedepends=('python')
-validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC')
-source=("https://botan.randombit.net/releases/Botan-${pkgver}.tgz"{,.asc})
-sha256sums=('b8a31fe03e7f048a5bd3967ecd04b6a48966215e78792df06e333b0eede4fb1b'
-            'SKIP')
+makedepends=('git' 'python')
+# Using a specific commit instead of the .tgz because botan issue #1524
+source=('git+https://github.com/randombit/botan#commit=6c5d9ef3c49658cbf4096e04905e3c0debb9d096')
+md5sums=('SKIP')
+#validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC')
+#source=("https://botan.randombit.net/releases/Botan-${pkgver}.tgz"{,.asc})
+#sha256sums=('b8a31fe03e7f048a5bd3967ecd04b6a48966215e78792df06e333b0eede4fb1b'
+#            'SKIP')
 
 build() {
-  cd "${pkgname^}-$pkgver"
+  cd "$pkgname"
+  #cd "${pkgname^}-$pkgver"
 
-  # The unit test hangs when testing the bigint module
-  ./configure.py --prefix=/usr --disable-modules=bigint
+  ./configure.py --cxxflags="-g -O3 -fno-omit-frame-pointer"
   make
 }
 
 check() {
-  cd "${pkgname^}-$pkgver"
+  cd "$pkgname"
 
   ./botan-test
 }
 
 package() {
-  cd "${pkgname^}-$pkgver"
+  cd "$pkgname"
 
   make DESTDIR="$pkgdir" install
   install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 
+# vim: ts=2 sw=2 et:
 # getver: github.com/randombit/botan
-# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list