[arch-commits] Commit in (4 files)

Anatol Pomozov anatolik at archlinux.org
Mon Jan 25 20:37:53 UTC 2021


    Date: Monday, January 25, 2021 @ 20:37:52
  Author: anatolik
Revision: 829875

Add aws-c-io to [community]

Added:
  aws-c-io/
  aws-c-io/repos/
  aws-c-io/trunk/
  aws-c-io/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Added: aws-c-io/trunk/PKGBUILD
===================================================================
--- aws-c-io/trunk/PKGBUILD	                        (rev 0)
+++ aws-c-io/trunk/PKGBUILD	2021-01-25 20:37:52 UTC (rev 829875)
@@ -0,0 +1,32 @@
+# Maintainer: Anatol Pomozov
+
+pkgname=aws-c-io
+pkgver=0.8.2
+pkgrel=1
+pkgdesc='AWS SDK module to handle all IO and TLS work for application protocols'
+arch=(x86_64)
+url='https://github.com/awslabs/aws-c-io'
+license=(Apache)
+depends=(aws-c-common aws-c-cal s2n)
+makedepends=(cmake)
+source=(aws-c-io-$pkgver.zip::https://github.com/awslabs/aws-c-io/archive/v$pkgver.zip)
+sha256sums=('7aaec4d63cc6abf83eb70fd1b3dc1077e2df66659e1e8092bf42023e8d3667fe')
+
+build() {
+  cd aws-c-io-$pkgver
+
+  cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -S . -B build
+  cmake --build build
+}
+
+check() {
+  cd aws-c-io-$pkgver
+  cmake --build build --target test
+}
+
+package() {
+  cd aws-c-io-$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