Skip to content
Snippets Groups Projects
Commit 46be8140 authored by Anatol Pomozov's avatar Anatol Pomozov
Browse files

Add aws-c-compression to community

parents
No related branches found
Tags 0.13.20-1
No related merge requests found
PKGBUILD 0 → 100644
# Maintainer: Anatol Pomozov
pkgname=aws-c-compression
pkgver=0.2.14
pkgrel=1
pkgdesc='C99 implementation of huffman encoding/decoding'
arch=(x86_64)
url='https://github.com/awslabs/aws-c-compression'
license=(Apache)
depends=(aws-c-common)
makedepends=(cmake)
source=(aws-c-compression-$pkgver.zip::https://github.com/awslabs/aws-c-compression/archive/v$pkgver.zip)
sha256sums=('8495e7758407ea478a35c6b86989c4ff3cb248245c2f9b8fb83dd388e2ac8d3e')
build() {
cd aws-c-compression-$pkgver
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -S . -B build
cmake --build build
}
check() {
cd aws-c-compression-$pkgver
cmake --build build --target test
}
package() {
cd aws-c-compression-$pkgver
cmake --build build --target install -- DESTDIR="$pkgdir/"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment