1 # Maintainer: Anatol Pomozov
6 pkgdesc='AWS SDK module to handle all IO and TLS work for application protocols'
8 url='https://github.com/awslabs/aws-c-io'
10 depends=(aws-c-common aws-c-cal s2n-tls)
12 source=(aws-c-io-$pkgver.zip::https://github.com/awslabs/aws-c-io/archive/v$pkgver.zip)
13 sha256sums=('1dee7a0c20a3361e7a0fae24b766bec9e81e813782a55423a0460f9fc7bfb732')
18 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -S . -B build
24 cmake --build build --target test --verbose
30 cmake --build build --target install -- DESTDIR="$pkgdir/"
31 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"