summaryrefslogtreecommitdiff
path: root/extra/botan/PKGBUILD
blob: 5b21ffbe5da620bcd406bc5c3c87f6737680d8a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 145616 2011-12-24 05:45:52Z angvp $
# Maintainer: Angel Velasquez <angvp@archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
# Contributor: d'Ronin <daronin@2600.com>
pkgname=botan
pkgver=1.10.1
pkgrel=1
pkgdesc="BSD-licensed crypto library written in C++"
license=('BSD')
arch=('i686' 'x86_64' 'mips64el')
url="http://botan.randombit.net/"
depends=('gcc-libs' 'sh')
makedepends=('python2')
source=(http://files.randombit.net/botan/Botan-${pkgver}.tgz)
md5sums=('5e1e7f3458e2e6aa56f7e41941eefb9d')

build() {
  cd ${srcdir}/Botan-${pkgver}
  sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' configure.py
  ./configure.py --prefix=/usr
  make 
}

package() {
  cd ${srcdir}/Botan-${pkgver}
  make DESTDIR=${pkgdir}/usr install
}