mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/botan to 2.19.0-1
This commit is contained in:
parent
1e892593e9
commit
6e233d81a3
1 changed files with 8 additions and 9 deletions
|
@ -10,8 +10,8 @@
|
|||
# - disable neon on !AArch64
|
||||
|
||||
pkgname=botan
|
||||
pkgver=2.18.2
|
||||
pkgrel=3
|
||||
pkgver=2.19.0
|
||||
pkgrel=1
|
||||
pkgdesc='Crypto library written in C++'
|
||||
arch=(x86_64)
|
||||
url='https://botan.randombit.net/'
|
||||
|
@ -19,13 +19,13 @@ license=(BSD)
|
|||
depends=(xz sqlite)
|
||||
makedepends=(python boost openssl)
|
||||
optdepends=('python: for using botan2.py' 'boost-libs: for the botan executable')
|
||||
source=("https://botan.randombit.net/releases/Botan-${pkgver}.tar.xz"{,.asc})
|
||||
sha256sums=('541a3b13f1b9d30f977c6c1ae4c7bfdfda763cda6e44de807369dce79f42307e'
|
||||
source=(https://botan.randombit.net/releases/Botan-${pkgver}.tar.xz{,.asc})
|
||||
sha256sums=('240d9e56e6acb91ef4cf06a8a1c6c0f101c61d40cf48cccf139faef821d7040b'
|
||||
'SKIP')
|
||||
validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC') # Botan Distribution Key
|
||||
|
||||
build() {
|
||||
cd "${pkgname^}-$pkgver"
|
||||
cd ${pkgname^}-$pkgver
|
||||
|
||||
[[ $CARCH != "aarch64" ]] && CONFIG="--disable-neon"
|
||||
|
||||
|
@ -44,13 +44,12 @@ build() {
|
|||
}
|
||||
|
||||
check() {
|
||||
cd "${pkgname^}-$pkgver"
|
||||
cd ${pkgname^}-$pkgver
|
||||
|
||||
LD_LIBRARY_PATH="$PWD" ./botan-test
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" make -C "${pkgname^}-$pkgver" install
|
||||
install -Dm644 "${pkgname^}-$pkgver/license.txt" \
|
||||
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
DESTDIR="$pkgdir" make -C ${pkgname^}-$pkgver install
|
||||
install -Dm644 ${pkgname^}-$pkgver/license.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue