[arch-commits] Commit in aws-checksums/repos (2 files)
Anatol Pomozov
anatolik at archlinux.org
Mon Jan 25 01:47:45 UTC 2021
Date: Monday, January 25, 2021 @ 01:47:45
Author: anatolik
Revision: 829400
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 829399, aws-checksums/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: aws-checksums/repos/community-testing-x86_64/PKGBUILD (from rev 829399, aws-checksums/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-01-25 01:47:45 UTC (rev 829400)
@@ -0,0 +1,32 @@
+# Maintainer: Anatol Pomozov
+
+pkgname=aws-checksums
+pkgver=0.1.10
+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=('e9a55ea95b4d2d7d8b2d68dc2d7e037d047d1e5a6a25984cd358e6736bc79094')
+
+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