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

Anatol Pomozov anatolik at gemini.archlinux.org
Mon Oct 4 17:01:25 UTC 2021


    Date: Monday, October 4, 2021 @ 17:01:25
  Author: anatolik
Revision: 1027504

archrelease: copy trunk to community-testing-x86_64

Added:
  aws-checksums/repos/community-testing-x86_64/
  aws-checksums/repos/community-testing-x86_64/PKGBUILD
    (from rev 1027503, aws-checksums/trunk/PKGBUILD)

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

Copied: aws-checksums/repos/community-testing-x86_64/PKGBUILD (from rev 1027503, aws-checksums/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-10-04 17:01:25 UTC (rev 1027504)
@@ -0,0 +1,32 @@
+# Maintainer: Anatol Pomozov
+
+pkgname=aws-checksums
+pkgver=0.1.12
+pkgrel=1
+pkgdesc='Cross-Platform HW accelerated CRC32c and CRC32 with fallback to efficient SW implementations.'
+arch=(x86_64)
+url='https://github.com/awslabs/aws-checksums'
+license=(Apache)
+depends=(aws-c-common)
+makedepends=(cmake)
+source=(aws-checksums-$pkgver.zip::https://github.com/awslabs/aws-checksums/archive/v$pkgver.zip)
+sha256sums=('51611c906160a144c8789a6ae32c1e2a6d8aaae188e2c045be00ec4d13b36d74')
+
+build() {
+  cd aws-checksums-$pkgver
+
+  cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -S . -B build
+  cmake --build build
+}
+
+check() {
+  cd aws-checksums-$pkgver
+  cmake --build build --target test
+}
+
+package() {
+  cd aws-checksums-$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