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

Anatol Pomozov anatolik at archlinux.org
Thu Jul 23 19:15:46 UTC 2020


    Date: Thursday, July 23, 2020 @ 19:15:46
  Author: anatolik
Revision: 665057

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 665056, aws-checksums/trunk/PKGBUILD)

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

Copied: aws-checksums/repos/community-testing-x86_64/PKGBUILD (from rev 665056, aws-checksums/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-07-23 19:15:46 UTC (rev 665057)
@@ -0,0 +1,31 @@
+# Maintainer: Anatol Pomozov
+
+pkgname=aws-checksums
+pkgver=0.1.7
+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)
+makedepends=(cmake)
+source=(aws-checksums-$pkgver.zip::https://github.com/awslabs/aws-checksums/archive/v$pkgver.zip)
+sha256sums=('f8b8b894a846c3b25824d356b85edc99e1b565a81d2d3265b7e246b9a753bedf')
+
+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