Date: Saturday, August 12, 2017 @ 11:10:07
  Author: arodseth
Revision: 249997

Update to 2.2.0, but check() fails. WIP

Modified:
  botan/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-08-12 10:17:17 UTC (rev 249996)
+++ PKGBUILD    2017-08-12 11:10:07 UTC (rev 249997)
@@ -6,17 +6,16 @@
 # Contributor: Hexchain Tong <richard0...@gmail.com>
 
 pkgname=botan
-pkgver=2.1.0
-pkgrel=2
+pkgver=2.2.0
+pkgrel=1
 pkgdesc='Crypto library written in C++'
-license=('BSD')
 arch=('x86_64' 'i686')
 url='https://botan.randombit.net/'
+license=('BSD')
 depends=('gcc-libs' 'sh')
-makedepends=('python' 'git')
+makedepends=('python')
 source=("https://botan.randombit.net/releases/Botan-${pkgver}.tgz"{,.asc})
-#source=("git://github.com/randombit/botan.git#commit=8e19ecf11c")
-md5sums=('2c91a5d65e0f9ddf4fce38bcd2734e70'
+md5sums=('b8c9d2ff724e33c99a050838b112e832'
          'SKIP')
 # Botan Distribution Key. To import: gpg --import botan.key
 validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC')
@@ -24,9 +23,7 @@
 build() {
   cd "${pkgname^}-$pkgver"
 
-  python configure.py \
-    --prefix=/usr \
-    --destdir="$pkgdir/usr"
+  ./configure.py --prefix=/usr
   make
 }
 
@@ -40,9 +37,11 @@
   cd "${pkgname^}-$pkgver"
 
   make DESTDIR="$pkgdir/usr" install
+  install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # fix permissions
   find "$pkgdir/usr/share/doc" -type f -exec chmod 0644 {} \;
-  install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
 
 # getver: github.com/randombit/botan
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:

Reply via email to