[arch-commits] Commit in aws-sdk-cpp/repos (2 files)

Anatol Pomozov anatolik at archlinux.org
Wed Dec 4 01:29:06 UTC 2019


    Date: Wednesday, December 4, 2019 @ 01:29:05
  Author: anatolik
Revision: 535157

archrelease: copy trunk to community-testing-x86_64

Added:
  aws-sdk-cpp/repos/community-testing-x86_64/
  aws-sdk-cpp/repos/community-testing-x86_64/PKGBUILD
    (from rev 535156, aws-sdk-cpp/trunk/PKGBUILD)

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

Copied: aws-sdk-cpp/repos/community-testing-x86_64/PKGBUILD (from rev 535156, aws-sdk-cpp/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-12-04 01:29:05 UTC (rev 535157)
@@ -0,0 +1,27 @@
+# Maintainer: Anatol Pomozov
+
+pkgname=aws-sdk-cpp
+pkgver=1.7.238
+pkgrel=1
+pkgdesc='AWS SDK for C++'
+arch=(x86_64)
+url='https://github.com/aws/aws-sdk-cpp'
+license=(Apache)
+depends=(openssl curl zlib libutil-linux aws-c-common aws-c-event-stream libpulse)
+makedepends=(cmake)
+source=(aws-sdk-cpp-$pkgver.zip::https://github.com/aws/aws-sdk-cpp/archive/$pkgver.zip)
+sha256sums=('6e68aabff71fedcb6eeffe988ec422e170b3537cb3dbe184a3be4e014ddce520')
+
+build() {
+  cd aws-sdk-cpp-$pkgver
+
+  cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCUSTOM_MEMORY_MANAGEMENT=OFF -DENABLE_TESTING=OFF -DBUILD_DEPS=OFF -S . -B build
+  cmake --build build
+}
+
+package() {
+  cd aws-sdk-cpp-$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