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

Alexander Rødseth arodseth at nymeria.archlinux.org
Tue Apr 9 20:48:33 UTC 2013


    Date: Tuesday, April 9, 2013 @ 22:48:33
  Author: arodseth
Revision: 87982

upgpkg: botan 1.10.5-1

Modified:
  botan/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++++--------------
 1 file changed, 17 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-04-09 20:43:45 UTC (rev 87981)
+++ PKGBUILD	2013-04-09 20:48:33 UTC (rev 87982)
@@ -1,32 +1,35 @@
 # $Id$
-# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
 # Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
 # Contributor: d'Ronin <daronin at 2600.com>
 
 pkgname=botan
-pkgver=1.10.3
+pkgver=1.10.5
 pkgrel=1
-pkgdesc="Crypto library written in C++"
+pkgdesc='Crypto library written in C++'
 license=('BSD')
-arch=('i686' 'x86_64')
-url="http://botan.randombit.net/"
+arch=('x86_64' 'i686')
+url='http://botan.randombit.net/'
 depends=('gcc-libs' 'sh')
 makedepends=('python2')
-source=(http://files.randombit.net/botan/Botan-${pkgver}.tbz{,.asc})
-sha1sums=('9f929101bf75c19432f49f57c80d2d26eec91dcb'
-          'd03b220849e3d3b3a49363a0debc266b615d9fca')
+source=("http://files.randombit.net/botan/Botan-${pkgver}.tbz")
+sha256sums=('2934c00533847dc93c485081d3ce6aae4a110151a69b587b895241159da77cf3')
 
 build() {
-  cd "${srcdir}/Botan-${pkgver}"
-  sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' configure.py
+  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 -D -m644 doc/license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  find "${pkgdir}/usr/share/doc" -type f -exec chmod 0644 {} \;
+  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:




More information about the arch-commits mailing list