[arch-commits] Commit in aws-c-io/repos (2 files)

Anatol Pomozov anatolik at archlinux.org
Fri Feb 26 17:32:35 UTC 2021


    Date: Friday, February 26, 2021 @ 17:32:35
  Author: anatolik
Revision: 874430

archrelease: copy trunk to community-staging-x86_64

Added:
  aws-c-io/repos/community-staging-x86_64/
  aws-c-io/repos/community-staging-x86_64/PKGBUILD
    (from rev 874429, aws-c-io/trunk/PKGBUILD)

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

Copied: aws-c-io/repos/community-staging-x86_64/PKGBUILD (from rev 874429, aws-c-io/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-02-26 17:32:35 UTC (rev 874430)
@@ -0,0 +1,32 @@
+# Maintainer: Anatol Pomozov
+
+pkgname=aws-c-io
+pkgver=0.9.0
+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-tls)
+makedepends=(cmake)
+source=(aws-c-io-$pkgver.zip::https://github.com/awslabs/aws-c-io/archive/v$pkgver.zip)
+sha256sums=('a72d640d301f128b0e719b92c86a7315caac52c0db658cef0329f764c2f15969')
+
+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