* add aws-c-s3

This commit is contained in:
Alexander Baldeck 2025-02-07 12:37:18 +01:00
parent 112968022c
commit 0b57707569
3 changed files with 71 additions and 0 deletions

23
aws-c-s3/.SRCINFO Normal file
View File

@ -0,0 +1,23 @@
pkgbase = aws-c-s3
pkgdesc = C99 library implementation for communicating with the S3 service, designed for maximizing throughput on high bandwidth EC2 instances
pkgver = 0.7.11
pkgrel = 1
url = https://github.com/awslabs/aws-c-s3
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = Apache-2.0
makedepends = cmake
depends = aws-c-auth
depends = aws-c-cal
depends = aws-c-common
depends = aws-c-http
depends = aws-c-io
depends = aws-checksums
depends = glibc
source = aws-c-s3-0.7.11.tar.gz::https://github.com/awslabs/aws-c-s3/archive/v0.7.11.tar.gz
sha256sums = 6602c92c8b4602dee50636f4128a7842f7359314d030db35368120491b3582bc
pkgname = aws-c-s3

4
aws-c-s3/.nvchecker.toml Normal file
View File

@ -0,0 +1,4 @@
[aws-c-s3]
source = "git"
git = "https://github.com/awslabs/aws-c-s3.git"
prefix = "v"

44
aws-c-s3/PKGBUILD Normal file
View File

@ -0,0 +1,44 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Anatol Pomozov
# Maintainer: Carl Smedstad <carsme@archlinux.org>
pkgname=aws-c-s3
pkgver=0.7.11
pkgrel=1
pkgdesc='C99 library implementation for communicating with the S3 service, designed for maximizing throughput on high bandwidth EC2 instances'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://github.com/awslabs/aws-c-s3'
license=(Apache-2.0)
depends=(
aws-c-auth
aws-c-cal
aws-c-common
aws-c-http
aws-c-io
aws-checksums
glibc
)
makedepends=(cmake)
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('6602c92c8b4602dee50636f4128a7842f7359314d030db35368120491b3582bc')
build() {
cd $pkgname-$pkgver
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-Wno-dev \
-DBUILD_SHARED_LIBS=ON \
-DENABLE_NET_TESTS=OFF
cmake --build build
}
check() {
cd $pkgname-$pkgver
cmake --build build --target test
}
package() {
cd $pkgname-$pkgver
DESTDIR="$pkgdir" cmake --install build
}