* add aws-c-common
This commit is contained in:
parent
6334d96d27
commit
2fa9ddb124
17
aws-c-common/.SRCINFO
Normal file
17
aws-c-common/.SRCINFO
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
pkgbase = aws-c-common
|
||||||
|
pkgdesc = Core c99 package for AWS SDK for C. Includes cross-platform primitives, configuration, data structures, and error handling
|
||||||
|
pkgver = 0.11.0
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/awslabs/aws-c-common
|
||||||
|
arch = x86_64
|
||||||
|
arch = powerpc64le
|
||||||
|
arch = powerpc64
|
||||||
|
arch = powerpc
|
||||||
|
arch = riscv64
|
||||||
|
license = Apache-2.0
|
||||||
|
makedepends = cmake
|
||||||
|
depends = glibc
|
||||||
|
source = aws-c-common-0.11.0.tar.gz::https://github.com/awslabs/aws-c-common/archive/v0.11.0.tar.gz
|
||||||
|
sha256sums = 88115d6f3e4f79d8b2544ed8a95d8a9699985aed38aeb4779d7c9fffde1fee58
|
||||||
|
|
||||||
|
pkgname = aws-c-common
|
4
aws-c-common/.nvchecker.toml
Normal file
4
aws-c-common/.nvchecker.toml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[aws-c-common]
|
||||||
|
source = "git"
|
||||||
|
git = "https://github.com/awslabs/aws-c-common.git"
|
||||||
|
prefix = "v"
|
35
aws-c-common/PKGBUILD
Normal file
35
aws-c-common/PKGBUILD
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||||
|
# Maintainer: Anatol Pomozov
|
||||||
|
# Maintainer: Carl Smedstad <carsme@archlinux.org>
|
||||||
|
|
||||||
|
pkgname=aws-c-common
|
||||||
|
pkgver=0.11.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Core c99 package for AWS SDK for C. Includes cross-platform primitives, configuration, data structures, and error handling'
|
||||||
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||||
|
url='https://github.com/awslabs/aws-c-common'
|
||||||
|
license=(Apache-2.0)
|
||||||
|
depends=(glibc)
|
||||||
|
makedepends=(cmake)
|
||||||
|
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
||||||
|
sha256sums=('88115d6f3e4f79d8b2544ed8a95d8a9699985aed38aeb4779d7c9fffde1fee58')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cmake -S . -B build \
|
||||||
|
-DCMAKE_BUILD_TYPE=None \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-Wno-dev \
|
||||||
|
-DBUILD_SHARED_LIBS=ON
|
||||||
|
cmake --build build
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cmake --build build --target test
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
DESTDIR="$pkgdir" cmake --install build
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user