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

Anatol Pomozov anatolik at gemini.archlinux.org
Mon Oct 4 16:56:15 UTC 2021


    Date: Monday, October 4, 2021 @ 16:56:15
  Author: anatolik
Revision: 1027498

archrelease: copy trunk to community-testing-x86_64

Added:
  aws-c-cal/repos/community-testing-x86_64/
  aws-c-cal/repos/community-testing-x86_64/PKGBUILD
    (from rev 1027497, aws-c-cal/trunk/PKGBUILD)

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

Copied: aws-c-cal/repos/community-testing-x86_64/PKGBUILD (from rev 1027497, aws-c-cal/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-10-04 16:56:15 UTC (rev 1027498)
@@ -0,0 +1,32 @@
+# Maintainer: Anatol Pomozov
+
+pkgname=aws-c-cal
+pkgver=0.5.12
+pkgrel=1
+pkgdesc='AWS Crypto Abstraction Layer: Cross-Platform, C99 wrapper for cryptography primitives'
+arch=(x86_64)
+url='https://github.com/awslabs/aws-c-cal'
+license=(Apache)
+depends=(aws-c-common openssl)
+makedepends=(cmake)
+source=(aws-c-cal-$pkgver.zip::https://github.com/awslabs/aws-c-cal/archive/v$pkgver.zip)
+sha256sums=('a23624d96d6e2b70688ac073b6b5f1153f3cf488b6d570de2d063d6821fd0047')
+
+build() {
+  cd aws-c-cal-$pkgver
+
+  cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -S . -B build
+  cmake --build build
+}
+
+check() {
+  cd aws-c-cal-$pkgver
+  cmake --build build --target test
+}
+
+package() {
+  cd aws-c-cal-$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