[arch-commits] Commit in aws-c-event-stream/repos (2 files)
Anatol Pomozov
anatolik at archlinux.org
Mon Jan 25 18:20:25 UTC 2021
Date: Monday, January 25, 2021 @ 18:20:23
Author: anatolik
Revision: 829738
archrelease: copy trunk to community-testing-x86_64
Added:
aws-c-event-stream/repos/community-testing-x86_64/
aws-c-event-stream/repos/community-testing-x86_64/PKGBUILD
(from rev 829737, aws-c-event-stream/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: aws-c-event-stream/repos/community-testing-x86_64/PKGBUILD (from rev 829737, aws-c-event-stream/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-01-25 18:20:23 UTC (rev 829738)
@@ -0,0 +1,32 @@
+# Maintainer: Anatol Pomozov
+
+pkgname=aws-c-event-stream
+pkgver=0.1.6
+pkgrel=3
+pkgdesc='C99 implementation of the vnd.amazon.eventstream content-type'
+arch=(x86_64)
+url='https://github.com/awslabs/aws-c-event-stream'
+license=(Apache)
+depends=(aws-c-common aws-checksums)
+makedepends=(cmake)
+source=(aws-c-event-stream-$pkgver.zip::https://github.com/awslabs/aws-c-event-stream/archive/v$pkgver.zip)
+sha256sums=('42c7e5d8127354d9a96085da1992cbcfb6c0e6af543b1bcfc4ae18ea71f87e70')
+
+build() {
+ cd aws-c-event-stream-$pkgver
+
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -S . -B build
+ cmake --build build
+}
+
+check() {
+ cd aws-c-event-stream-$pkgver
+ cmake --build build --target test
+}
+
+package() {
+ cd aws-c-event-stream-$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