mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
community/botan to 2.2.0-1
This commit is contained in:
parent
9fd81de1a4
commit
6b2188dc1b
1 changed files with 16 additions and 19 deletions
|
@ -11,26 +11,27 @@
|
|||
# - AArch64 patch
|
||||
|
||||
pkgname=botan
|
||||
pkgver=2.1.0
|
||||
pkgrel=2
|
||||
pkgver=2.2.0
|
||||
pkgrel=1
|
||||
pkgdesc='Crypto library written in C++'
|
||||
license=('BSD')
|
||||
arch=('x86_64' 'i686')
|
||||
url='https://botan.randombit.net/'
|
||||
license=('BSD')
|
||||
depends=('gcc-libs' 'sh')
|
||||
makedepends=('python' 'git')
|
||||
#source=("git://github.com/randombit/botan.git#commit=8e19ecf11c"
|
||||
source=("https://botan.randombit.net/releases/Botan-${pkgver}.tgz"{,.asc}
|
||||
'0001-aarch64-support.patch')
|
||||
md5sums=('2c91a5d65e0f9ddf4fce38bcd2734e70'
|
||||
'SKIP'
|
||||
'37165d2a365dd2e9d779b89fa55ba77b')
|
||||
# Botan Distribution Key. To import: gpg --import botan.key
|
||||
makedepends=('python')
|
||||
validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC')
|
||||
source=("https://botan.randombit.net/releases/Botan-${pkgver}.tgz"{,.asc}
|
||||
'https://github.com/randombit/botan/commit/3e1312d905dac01f317138b68fd284799a5abc29.patch'
|
||||
'0001-aarch64-support.patch')
|
||||
md5sums=('b8c9d2ff724e33c99a050838b112e832'
|
||||
'SKIP'
|
||||
'11f29d6cc39fad8bd88cd252a79f590b'
|
||||
'37165d2a365dd2e9d779b89fa55ba77b')
|
||||
|
||||
prepare() {
|
||||
cd "${pkgname^}-$pkgver"
|
||||
|
||||
patch -p1 -i ../3e1312d905dac01f317138b68fd284799a5abc29.patch
|
||||
patch -p1 -i ../0001-aarch64-support.patch
|
||||
}
|
||||
|
||||
|
@ -51,11 +52,7 @@ build() {
|
|||
|
||||
[[ $CARCH != "aarch64" ]] && CONFIG="--disable-neon"
|
||||
|
||||
python configure.py \
|
||||
--prefix=/usr \
|
||||
--destdir="$pkgdir/usr" \
|
||||
--cpu=$CPU $CONFIG
|
||||
|
||||
./configure.py --prefix=/usr --cpu=$CPU $CONFIG
|
||||
make
|
||||
}
|
||||
|
||||
|
@ -67,10 +64,10 @@ check() {
|
|||
|
||||
package() {
|
||||
cd "${pkgname^}-$pkgver"
|
||||
make DESTDIR="$pkgdir/usr" install
|
||||
find "$pkgdir/usr/share/doc" -type f -exec chmod 0644 {} \;
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
||||
# getver: github.com/randombit/botan
|
||||
# vim:set ts=2 sw=2 et:
|
||||
# vim: ts=2 sw=2 et:
|
||||
|
|
Loading…
Reference in a new issue