Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / aws-c-common
Commits: 7bdf0d0d by Carl Smedstad at 2024-08-27T12:50:17+02:00 upgpkg: 0.9.27-1: Upstream release https://github.com/awslabs/aws-c-common/releases/tag/v0.9.27 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,13 +1,13 @@ pkgbase = aws-c-common - pkgdesc = Core c99 package for AWS SDK for C. Includes cross-platform primitives, configuration, data structures, and error handling. - pkgver = 0.9.0 - pkgrel = 2 + pkgdesc = Core c99 package for AWS SDK for C. Includes cross-platform primitives, configuration, data structures, and error handling + pkgver = 0.9.27 + pkgrel = 1 url = https://github.com/awslabs/aws-c-common arch = x86_64 - license = Apache + license = Apache-2.0 makedepends = cmake depends = glibc - source = aws-c-common-0.9.0.zip::https://github.com/awslabs/aws-c-common/archive/v0.9.0.zip - sha256sums = 1e5e1c191cc1d4161717690da5313f667389bc1fd0db785bb534f4d5c4ad5b28 + source = aws-c-common-0.9.27.tar.gz::https://github.com/awslabs/aws-c-common/archive/v0.9.27.tar.gz + sha256sums = 0c0eecbd7aa04f85b1bdddf6342789bc8052737c6e9aa2ca35e26caed41d06ba pkgname = aws-c-common ===================================== PKGBUILD ===================================== @@ -1,32 +1,34 @@ # Maintainer: Anatol Pomozov +# Maintainer: Carl Smedstad <car...@archlinux.org> pkgname=aws-c-common -pkgver=0.9.0 -pkgrel=2 -pkgdesc='Core c99 package for AWS SDK for C. Includes cross-platform primitives, configuration, data structures, and error handling.' +pkgver=0.9.27 +pkgrel=1 +pkgdesc='Core c99 package for AWS SDK for C. Includes cross-platform primitives, configuration, data structures, and error handling' arch=(x86_64) url='https://github.com/awslabs/aws-c-common' -license=(Apache) +license=(Apache-2.0) depends=(glibc) makedepends=(cmake) -source=(aws-c-common-$pkgver.zip::https://github.com/awslabs/aws-c-common/archive/v$pkgver.zip) -sha256sums=('1e5e1c191cc1d4161717690da5313f667389bc1fd0db785bb534f4d5c4ad5b28') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha256sums=('0c0eecbd7aa04f85b1bdddf6342789bc8052737c6e9aa2ca35e26caed41d06ba') build() { - cd aws-c-common-$pkgver - - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -S . -B build + cd $pkgname-$pkgver + cmake -S . -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -Wno-dev \ + -DBUILD_SHARED_LIBS=ON cmake --build build } check() { - cd aws-c-common-$pkgver + cd $pkgname-$pkgver cmake --build build --target test } package() { - cd aws-c-common-$pkgver - - cmake --build build --target install -- DESTDIR="$pkgdir/" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + cd $pkgname-$pkgver + DESTDIR="$pkgdir" cmake --install build } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/aws-c-common/-/commit/7bdf0d0d958b8768201a21407df9ef93e6db3e22 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/aws-c-common/-/commit/7bdf0d0d958b8768201a21407df9ef93e6db3e22 You're receiving this email because of your account on gitlab.archlinux.org.