blob: baf1b4e02e406d4c84ab1cc9a67935cda0fe9cf5 (
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
|
pkgname=opensaml
pkgver=3.3.1
pkgrel=1
pkgdesc="Shibboleth Project's SAML 2 implementation in C++"
url="https://shibboleth.atlassian.net/wiki/spaces/SP3/pages/2067398807/OpenSAML-C"
license=(Apache)
arch=(x86_64)
depends=(
log4shib
xerces-c
xml-security-c
xmltooling
)
makedepends=(
boost
doxygen
)
# Git: git+https://git.shibboleth.net/git/cpp-opensaml
source=("https://shibboleth.net/downloads/c++-opensaml/$pkgver/$pkgname-$pkgver.tar.gz"
"https://shibboleth.net/downloads/c++-opensaml/$pkgver/$pkgname-$pkgver.tar.gz.asc")
sha256sums=('9d0716d52d4f14e53b1b19de499387e2235ef8115e8feca1ba12a4e2fd50d046'
'SKIP')
validpgpkeys=('DCAA15007BED9DE690CD9523378B845402277962')
build() {
cd "$pkgname-$pkgver"
export CXXFLAGS+=" -std=gnu++14"
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
# Remove demo tools
rm -f "$pkgdir"/usr/bin/samlsign
}
# vim: ts=2:sw=2:et:
|