Date: Tuesday, November 1, 2022 @ 16:14:24
  Author: felixonmars
Revision: 1340149

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: aws-c-cal/repos/community-staging-x86_64/PKGBUILD (from rev 1340148, 
aws-c-cal/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-11-01 16:14:24 UTC (rev 1340149)
@@ -0,0 +1,32 @@
+# Maintainer: Anatol Pomozov
+
+pkgname=aws-c-cal
+pkgver=0.5.20
+pkgrel=2
+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=('cdddbeb943167e98037c9187fdd79c20451c60e9a2c0ef7afd6c40b44f5a2324')
+
+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"
+}

Reply via email to