Some corrections to the botan PKGBUILD.

This commit is contained in:
Daniele 2012-08-16 03:08:48 +00:00
parent e4d458ea80
commit b1d7b4b580

View File

@ -6,23 +6,27 @@
pkgname=botan
pkgver=1.10.3
pkgrel=1
pkgdesc="BSD-licensed crypto library written in C++"
pkgdesc="BSD-licensed crypto library written in C++."
license=('BSD')
arch=('i686' 'x86_64')
url="http://botan.randombit.net/"
depends=('gcc-libs' 'sh')
makedepends=('python')
source=(http://files.randombit.net/botan/Botan-${pkgver}.tgz)
makedepends=('python2')
source=("http://files.randombit.net/botan/Botan-${pkgver}.tgz")
md5sums=('1b5fcbc5795f615219277efc5059c886')
options=('force')
build() {
cd ${srcdir}/Botan-${pkgver}
./configure.py --prefix=/usr
make || return 1
cd "${srcdir}/Botan-${pkgver}"
python2 configure.py --prefix=/usr \
--cpu="${CARCH}"
make
}
package() {
cd ${srcdir}/Botan-${pkgver}
make DESTDIR=${pkgdir}/usr install
cd "${srcdir}/Botan-${pkgver}"
make install DESTDIR="${pkgdir}/usr"
}
# vim:set ts=2 sw=2 et: