blob: c25bc526368256cb06ba9b9dcd9201bde08ef32e (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# $Id$
# Maintainer: Daniel Maslowski <info@orangecms.org>
# Contributor: 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>
# Contributor: Hexchain Tong <richard0053@gmail.com>
pkgname=botan-with-compression
_pkgname=botan
pkgver=2.3.0
pkgrel=1
pkgdesc='Crypto library written in C++, built with compression support'
arch=('x86_64')
url='https://botan.randombit.net/'
license=('BSD')
depends=('gcc-libs' 'sh')
makedepends=('python')
conflicts=('botan')
validpgpkeys=('621DAF6411E1851C4CF9A2E16211EBF1EFBADFBC')
source=("https://botan.randombit.net/releases/Botan-${pkgver}.tgz"{,.asc})
sha256sums=('39f970fee5986a4c3e425030aef50ac284da18596c004d1a9cce7688c4e6d47c'
'SKIP')
build() {
cd "${_pkgname^}-$pkgver"
./configure.py --prefix=/usr --with-bzip --with-zlib
make
}
check() {
cd "${_pkgname^}-$pkgver"
./botan-test
}
package() {
cd "${_pkgname^}-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm644 license.txt "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
}
# getver: github.com/randombit/botan
# vim: ts=2 sw=2 et:
|