[arch-commits] Commit in (4 files)

Anatol Pomozov anatolik at gemini.archlinux.org
Mon Oct 11 15:53:00 UTC 2021


    Date: Monday, October 11, 2021 @ 15:52:59
  Author: anatolik
Revision: 1029471

Add aws-c-compression to community

Added:
  aws-c-compression/
  aws-c-compression/repos/
  aws-c-compression/trunk/
  aws-c-compression/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Added: aws-c-compression/trunk/PKGBUILD
===================================================================
--- aws-c-compression/trunk/PKGBUILD	                        (rev 0)
+++ aws-c-compression/trunk/PKGBUILD	2021-10-11 15:52:59 UTC (rev 1029471)
@@ -0,0 +1,32 @@
+# 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"
+}



More information about the arch-commits mailing list