mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
community/botan to 1.11.21-1
This commit is contained in:
parent
b3e73ae6c1
commit
5f8be8afc4
1 changed files with 11 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
# $Id: PKGBUILD 87983 2013-04-09 20:48:46Z arodseth $
|
||||
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
|
||||
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
|
||||
# Contributor: Angel Velasquez <angvp@archlinux.org>
|
||||
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
|
||||
# Contributor: d'Ronin <daronin@2600.com>
|
||||
|
@ -11,18 +11,18 @@
|
|||
# - AArch64 patch
|
||||
|
||||
pkgname=botan
|
||||
pkgver=1.11.20
|
||||
pkgver=1.11.21
|
||||
pkgrel=1
|
||||
pkgdesc='Crypto library written in C++'
|
||||
license=('BSD')
|
||||
arch=('x86_64' 'i686')
|
||||
url='http://botan.randombit.net/'
|
||||
depends=('gcc-libs' 'sh' 'asio')
|
||||
makedepends=('python2' 'asio' 'git')
|
||||
makedepends=('python' 'asio' 'git')
|
||||
#source=("git://github.com/randombit/botan.git#commit=8e19ecf11c"
|
||||
source=("http://botan.randombit.net/releases/Botan-${pkgver}.tgz"{,.asc}
|
||||
'0001-aarch64-support.patch')
|
||||
md5sums=('18dc2498cbcef88b553faca8eb5fac49'
|
||||
md5sums=('f8cb3f2d112685550d88434210136a58'
|
||||
'SKIP'
|
||||
'37165d2a365dd2e9d779b89fa55ba77b')
|
||||
# Botan Distribution Key. To import: gpg --import botan.key
|
||||
|
@ -32,9 +32,6 @@ prepare() {
|
|||
cd "${pkgname^}-$pkgver"
|
||||
|
||||
patch -p1 -i ../0001-aarch64-support.patch
|
||||
|
||||
# Use python2 for the installation scripts
|
||||
find src/scripts -name '*.py' -exec sed -i -e '1s,python$,python2,' {} +
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -52,15 +49,20 @@ build() {
|
|||
CPU='arm/armv5te'
|
||||
fi
|
||||
|
||||
python2 configure.py \
|
||||
python configure.py \
|
||||
--prefix=/usr \
|
||||
--enable-modules=cvc \
|
||||
--destdir="$pkgdir/usr" \
|
||||
--cpu=$CPU
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${pkgname^}-$pkgver"
|
||||
|
||||
./botan-test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname^}-$pkgver"
|
||||
make DESTDIR="$pkgdir/usr" install
|
||||
|
|
Loading…
Reference in a new issue