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

Anatol Pomozov anatolik at archlinux.org
Fri Feb 26 17:12:45 UTC 2021


    Date: Friday, February 26, 2021 @ 17:12:45
  Author: anatolik
Revision: 874424

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: aws-c-common/repos/community-staging-x86_64/PKGBUILD (from rev 874423, aws-c-common/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-02-26 17:12:45 UTC (rev 874424)
@@ -0,0 +1,32 @@
+# Maintainer: Anatol Pomozov
+
+pkgname=aws-c-common
+pkgver=0.5.1
+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=('b545edd97bac42bf2c7d2907c12d10d7bc8350d69d2e490329aec12f5b0e8927')
+
+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