1 # Maintainer: Anatol Pomozov
6 pkgdesc='C99 library implementation of AWS client-side authentication: standard credentials providers and signing'
8 url='https://github.com/awslabs/aws-c-auth'
10 depends=(aws-c-common aws-c-http aws-c-sdkutils)
12 source=(aws-c-auth-$pkgver.zip::https://github.com/awslabs/aws-c-auth/archive/v$pkgver.zip)
13 sha256sums=('b539a4a24eca72fd76a852e863816b9eee4688541904678ccb8162351e637ca2')
18 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -S . -B build
24 cmake --build build --target test
30 cmake --build build --target install -- DESTDIR="$pkgdir/"
31 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"