1 # Maintainer: Anatol Pomozov
6 pkgdesc='C99 implementation of the HTTP/1.1 and HTTP/2 specifications'
8 url='https://github.com/awslabs/aws-c-http'
10 depends=(aws-c-common aws-c-compression aws-c-io)
12 source=(aws-c-http-$pkgver.zip::https://github.com/awslabs/aws-c-http/archive/v$pkgver.zip)
13 sha256sums=('c8e83504509d7db0e11c46966087399db7a88fb7f2a81e94cbc6bded864af6a8')
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"