diff options
author | Tony Lambiris | 2019-02-27 22:36:37 -0500 |
---|---|---|
committer | Tony Lambiris | 2019-02-27 22:36:37 -0500 |
commit | 4376d3fce8d84e9d7ca1495414a46078564e5e38 (patch) | |
tree | 8ab408abdc11df3e791971c4a33c9d6cb8e75c21 /PKGBUILD | |
parent | 97c086cea3e993196646393d106494574577c4c5 (diff) | |
download | aur-4376d3fce8d84e9d7ca1495414a46078564e5e38.tar.gz |
Version bump
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 13 insertions, 8 deletions
@@ -1,6 +1,6 @@ # Maintainer: Tony Lambiris <tony@criticalstack.com> pkgname=aws-sdk-cpp-git -pkgver=1.7.33.r0.gc64f092956 +pkgver=1.7.59.r0.gcc21273299 pkgrel=1 pkgdesc="AWS SDK for C++" arch=('x86_64') @@ -8,20 +8,24 @@ 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}") +conclits=('aws-checksums-git') +_gitcommit='cc212732996dcabbf100404b9af773f85cfb1a42' #source=("${pkgname}::git+https://github.com/aws/aws-sdk-cpp") +source=("${pkgname}::git+https://github.com/aws/aws-sdk-cpp#commit=${_gitcommit}") sha256sums=('SKIP') # disable until aws engineers can settle on their fucking build process #pkgver() { -# cd ${pkgname} +# cd "${srcdir}/${pkgname}" # # git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' #} build() { - cd ${pkgname} + cd "${srcdir}/${pkgname}" + + mkdir -p build + cd build CMAKE_FLAGS="-Wno-dev \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \ @@ -32,13 +36,14 @@ build() { -DNO_HTTP_CLIENT=1 \ -DMINIMIZE_SIZE=ON \ -DBUILD_SHARED_LIBS=OFF" - cmake $CMAKE_FLAGS . + cmake $CMAKE_FLAGS .. make ${MAKEFLAGS} } package() { - cd ${pkgname} + cd "${srcdir}/${pkgname}" - make DESTDIR="${pkgdir}" install + make -C build DESTDIR="${pkgdir}" install + install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |