[arch-commits] Commit in aws-c-compression/repos (2 files)

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


    Date: Monday, October 11, 2021 @ 15:53:25
  Author: anatolik
Revision: 1029472

archrelease: copy trunk to community-x86_64

Added:
  aws-c-compression/repos/community-x86_64/
  aws-c-compression/repos/community-x86_64/PKGBUILD
    (from rev 1029471, aws-c-compression/trunk/PKGBUILD)

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

Copied: aws-c-compression/repos/community-x86_64/PKGBUILD (from rev 1029471, aws-c-compression/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-10-11 15:53:25 UTC (rev 1029472)
@@ -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