[arch-commits] Commit in aws-c-common/repos (2 files)
Anatol Pomozov
anatolik at gemini.archlinux.org
Mon Oct 4 16:53:01 UTC 2021
Date: Monday, October 4, 2021 @ 16:53:00
Author: anatolik
Revision: 1027490
archrelease: copy trunk to community-testing-x86_64
Added:
aws-c-common/repos/community-testing-x86_64/
aws-c-common/repos/community-testing-x86_64/PKGBUILD
(from rev 1027489, aws-c-common/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: aws-c-common/repos/community-testing-x86_64/PKGBUILD (from rev 1027489, aws-c-common/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-10-04 16:53:00 UTC (rev 1027490)
@@ -0,0 +1,32 @@
+# Maintainer: Anatol Pomozov
+
+pkgname=aws-c-common
+pkgver=0.6.11
+pkgrel=1
+pkgdesc='Core c99 package for AWS SDK for C. Includes cross-platform primitives, configuration, data structures, and error handling.'
+arch=(x86_64)
+url='https://github.com/awslabs/aws-c-common'
+license=(Apache)
+depends=(glibc)
+makedepends=(cmake)
+source=(aws-c-common-$pkgver.zip::https://github.com/awslabs/aws-c-common/archive/v$pkgver.zip)
+sha256sums=('aa5a21e0a4635472f895835167bb7cd9469b6a46a2de842a06e6cc337c17c7e6')
+
+build() {
+ cd aws-c-common-$pkgver
+
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -S . -B build
+ cmake --build build
+}
+
+check() {
+ cd aws-c-common-$pkgver
+ cmake --build build --target test
+}
+
+package() {
+ cd aws-c-common-$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