[arch-commits] Commit in aws-c-http/repos (community-x86_64 community-x86_64/PKGBUILD)
Anatol Pomozov
anatolik at gemini.archlinux.org
Mon Oct 11 15:59:44 UTC 2021
Date: Monday, October 11, 2021 @ 15:59:44
Author: anatolik
Revision: 1029480
archrelease: copy trunk to community-x86_64
Added:
aws-c-http/repos/community-x86_64/
aws-c-http/repos/community-x86_64/PKGBUILD
(from rev 1029479, aws-c-http/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: aws-c-http/repos/community-x86_64/PKGBUILD (from rev 1029479, aws-c-http/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-10-11 15:59:44 UTC (rev 1029480)
@@ -0,0 +1,32 @@
+# Maintainer: Anatol Pomozov
+
+pkgname=aws-c-http
+pkgver=0.6.7
+pkgrel=1
+pkgdesc='C99 implementation of the HTTP/1.1 and HTTP/2 specifications'
+arch=(x86_64)
+url='https://github.com/awslabs/aws-c-http'
+license=(Apache)
+depends=(aws-c-common aws-c-compression aws-c-io)
+makedepends=(cmake)
+source=(aws-c-http-$pkgver.zip::https://github.com/awslabs/aws-c-http/archive/v$pkgver.zip)
+sha256sums=('1c728a90a2aa7a460213c7216e462c7890ad22981e5a46113d0a315026c99ead')
+
+build() {
+ cd aws-c-http-$pkgver
+
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -S . -B build
+ cmake --build build
+}
+
+check() {
+ cd aws-c-http-$pkgver
+ cmake --build build --target test
+}
+
+package() {
+ cd aws-c-http-$pkgver
+
+ cmake --build build --target install -- DESTDIR="$pkgdir/"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list