summaryrefslogtreecommitdiff
path: root/community/botan/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-04-11 17:29:20 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-04-11 17:29:20 +0200
commit7a42705e87e0da5d2417b4293729e3ee1ae3b33c (patch)
tree04aa72c4fdff134e2c5ae9f539e092d5faafe808 /community/botan/PKGBUILD
parente6ced89f44186539d8fedf73b62024aa2214230e (diff)
parent337402b957bab442da9e0d46ee7a8d8f32ede3ce (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/botan/PKGBUILD community/qgo/PKGBUILD community/ragel/PKGBUILD extra/avahi/PKGBUILD extra/kdepim/PKGBUILD extra/libva/PKGBUILD extra/libwnck3/PKGBUILD extra/orc/PKGBUILD extra/python/PKGBUILD extra/python2/PKGBUILD extra/qt3/PKGBUILD
Diffstat (limited to 'community/botan/PKGBUILD')
-rw-r--r--community/botan/PKGBUILD35
1 files changed, 19 insertions, 16 deletions
diff --git a/community/botan/PKGBUILD b/community/botan/PKGBUILD
index 73ab39fbf..caf945b04 100644
--- a/community/botan/PKGBUILD
+++ b/community/botan/PKGBUILD
@@ -1,33 +1,36 @@
-# $Id: PKGBUILD 83128 2013-01-27 16:10:24Z pierre $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
+# $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.3
-pkgrel=1.1
-pkgdesc="Crypto library written in C++"
+pkgver=1.10.5
+pkgrel=1
+pkgdesc='Crypto library written in C++'
license=('BSD')
-arch=('i686' 'x86_64' 'mips64el')
-url="http://botan.randombit.net/"
+arch=('x86_64' 'i686' 'mips64el')
+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
sed -i 's/mabi=64/mabi=n32/g' src/build-data/cc/gcc.txt
./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: