[arch-commits] Commit in aws-c-s3/repos (community-x86_64 community-x86_64/PKGBUILD)
Anatol Pomozov
anatolik at gemini.archlinux.org
Mon Oct 11 16:20:14 UTC 2021
Date: Monday, October 11, 2021 @ 16:20:13
Author: anatolik
Revision: 1029510
archrelease: copy trunk to community-x86_64
Added:
aws-c-s3/repos/community-x86_64/
aws-c-s3/repos/community-x86_64/PKGBUILD
(from rev 1029509, aws-c-s3/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: aws-c-s3/repos/community-x86_64/PKGBUILD (from rev 1029509, aws-c-s3/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-10-11 16:20:13 UTC (rev 1029510)
@@ -0,0 +1,33 @@
+# Maintainer: Anatol Pomozov
+
+pkgname=aws-c-s3
+pkgver=0.1.27
+pkgrel=1
+pkgdesc='C99 library implementation for communicating with the S3 service, designed for maximizing throughput on high bandwidth EC2 instances'
+arch=(x86_64)
+url='https://github.com/awslabs/aws-c-s3'
+license=(Apache)
+depends=(aws-c-common aws-c-auth)
+makedepends=(cmake)
+source=(aws-c-s3-$pkgver.zip::https://github.com/awslabs/aws-c-s3/archive/v$pkgver.zip)
+sha256sums=('450d00c3ceebc205b1029dc0b5885fe36da530772a624ad85298e817e3e5fb41')
+
+build() {
+ cd aws-c-s3-$pkgver
+
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -S . -B build
+ cmake --build build
+}
+
+check() {
+ cd aws-c-s3-$pkgver
+ # A lot of tests failing
+ # cmake --build build --target test
+}
+
+package() {
+ cd aws-c-s3-$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