blob: aa90dc660c2c9cc681725c5308d2f2c006c1e5d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Tony Lambiris <tony@criticalstack.com>
pkgname=aws-sdk-cpp-git
pkgver=1.7.33.r0.gc64f092956
pkgrel=1
pkgdesc="AWS SDK for C++"
arch=('x86_64')
url="https://github.com/aws/aws-sdk-cpp"
license=('Apache')
depends=('cmake')
makedepends=('openssl' 'curl' 'zlib' 'libutil-linux')
_gitcommit='c18f2daa64d5968861bbb58a437fd06a9475e294'
source=("${pkgname}::git+https://github.com/aws/aws-sdk-cpp#commit=${_gitcommit}")
#source=("${pkgname}::git+https://github.com/aws/aws-sdk-cpp")
sha256sums=('SKIP')
# disable until aws engineers can settle on their fucking build process
#pkgver() {
# cd ${pkgname}
#
# git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
#}
build() {
cd ${pkgname}
CMAKE_FLAGS="-Wno-dev \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_INSTALL_INCLUDEDIR=/usr/include \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_TESTING=OFF \
-DSTATIC_LINKING=1 \
-DNO_HTTP_CLIENT=1 \
-DMINIMIZE_SIZE=ON \
-DBUILD_SHARED_LIBS=OFF"
cmake $CMAKE_FLAGS .
make ${MAKEFLAGS}
}
package() {
cd ${pkgname}
make DESTDIR="${pkgdir}" install
}
|