[arch-commits] Commit in (4 files)
Anatol Pomozov
anatolik at gemini.archlinux.org
Mon Oct 11 16:08:22 UTC 2021
Date: Monday, October 11, 2021 @ 16:08:22
Author: anatolik
Revision: 1029497
Add aws-c-auth to [community]
Added:
aws-c-auth/
aws-c-auth/repos/
aws-c-auth/trunk/
aws-c-auth/trunk/PKGBUILD
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Added: aws-c-auth/trunk/PKGBUILD
===================================================================
--- aws-c-auth/trunk/PKGBUILD (rev 0)
+++ aws-c-auth/trunk/PKGBUILD 2021-10-11 16:08:22 UTC (rev 1029497)
@@ -0,0 +1,32 @@
+# Maintainer: Anatol Pomozov
+
+pkgname=aws-c-auth
+pkgver=0.6.4
+pkgrel=1
+pkgdesc='C99 library implementation of AWS client-side authentication: standard credentials providers and signing'
+arch=(x86_64)
+url='https://github.com/awslabs/aws-c-auth'
+license=(Apache)
+depends=(aws-c-common aws-c-http)
+makedepends=(cmake)
+source=(aws-c-auth-$pkgver.zip::https://github.com/awslabs/aws-c-auth/archive/v$pkgver.zip)
+sha256sums=('3e5fb44cef9464f52d435d47327b1a237cde8da4b95e25bed7b676456a4c3cf0')
+
+build() {
+ cd aws-c-auth-$pkgver
+
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -S . -B build
+ cmake --build build
+}
+
+check() {
+ cd aws-c-auth-$pkgver
+ cmake --build build --target test
+}
+
+package() {
+ cd aws-c-auth-$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