* add aws-c-compression
This commit is contained in:
parent
3d637538b1
commit
d0fad7a094
18
aws-c-compression/.SRCINFO
Normal file
18
aws-c-compression/.SRCINFO
Normal file
@ -0,0 +1,18 @@
|
||||
pkgbase = aws-c-compression
|
||||
pkgdesc = C99 implementation of huffman encoding/decoding
|
||||
pkgver = 0.3.1
|
||||
pkgrel = 1
|
||||
url = https://github.com/awslabs/aws-c-compression
|
||||
arch = x86_64
|
||||
arch = powerpc64le
|
||||
arch = powerpc64
|
||||
arch = powerpc
|
||||
arch = riscv64
|
||||
license = Apache-2.0
|
||||
makedepends = cmake
|
||||
depends = aws-c-common
|
||||
depends = glibc
|
||||
source = aws-c-compression-0.3.1.tar.gz::https://github.com/awslabs/aws-c-compression/archive/v0.3.1.tar.gz
|
||||
sha256sums = d89fca17a37de762dc34f332d2da402343078da8dbd2224c46a11a88adddf754
|
||||
|
||||
pkgname = aws-c-compression
|
4
aws-c-compression/.nvchecker.toml
Normal file
4
aws-c-compression/.nvchecker.toml
Normal file
@ -0,0 +1,4 @@
|
||||
[aws-c-compression]
|
||||
source = "git"
|
||||
git = "https://github.com/awslabs/aws-c-compression.git"
|
||||
prefix = "v"
|
38
aws-c-compression/PKGBUILD
Normal file
38
aws-c-compression/PKGBUILD
Normal file
@ -0,0 +1,38 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Anatol Pomozov
|
||||
# Maintainer: Carl Smedstad <carsme@archlinux.org>
|
||||
|
||||
pkgname=aws-c-compression
|
||||
pkgver=0.3.1
|
||||
pkgrel=1
|
||||
pkgdesc='C99 implementation of huffman encoding/decoding'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url='https://github.com/awslabs/aws-c-compression'
|
||||
license=(Apache-2.0)
|
||||
depends=(
|
||||
aws-c-common
|
||||
glibc
|
||||
)
|
||||
makedepends=(cmake)
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
||||
sha256sums=('d89fca17a37de762dc34f332d2da402343078da8dbd2224c46a11a88adddf754')
|
||||
|
||||
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