diff options
author | Michael Yang | 2017-08-11 09:16:51 +0800 |
---|---|---|
committer | Michael Yang | 2017-08-11 09:16:51 +0800 |
commit | b354b61a41e22bd600d8ed5e5aeff3461f8d170f (patch) | |
tree | 0d25815b0a9a54bad0a9c5ff304a9e309e5ab18d | |
parent | d54a0f028c8499f1b4da42a059b7adc87dd43b04 (diff) | |
download | aur-b354b61a41e22bd600d8ed5e5aeff3461f8d170f.tar.gz |
Update
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 15 insertions, 11 deletions
@@ -1,18 +1,18 @@ # Generated by mksrcinfo v8 -# Sat Dec 3 03:51:15 UTC 2016 +# Fri Aug 11 01:16:30 UTC 2017 pkgbase = cpprestsdk-git pkgdesc = A cross-platform, modern, and asynchronous library that enables developers to access and author connected applications - pkgver = 2.9.0.r1724.717ba22 + pkgver = 2.9.0.r1852.935917a7 pkgrel = 1 url = https://github.com/Microsoft/cpprestsdk/ arch = i686 arch = x86_64 license = MIT makedepends = git - makedepends = cmake>=2.6.0 + makedepends = cmake>=3.0.0 depends = boost depends = websocketpp - depends = openssl>=1.0.0 + depends = openssl-1.0 provides = cpprestsdk conflicts = cpprestsdk conflicts = casablanca @@ -1,14 +1,14 @@ # Maintainer: Michael Yang <ohmyarchlinux@gmail.com> pkgname=cpprestsdk-git -pkgver=2.9.0.r1724.717ba22 +pkgver=2.9.0.r1852.935917a7 pkgrel=1 -pkgdesc="A cross-platform, modern, and asynchronous library that enables developers to access and author connected applications" +pkgdesc='A cross-platform, modern, and asynchronous library that enables developers to access and author connected applications' arch=('i686' 'x86_64') -url="https://github.com/Microsoft/cpprestsdk/" +url='https://github.com/Microsoft/cpprestsdk/' license=('MIT') -depends=('boost' 'websocketpp' 'openssl>=1.0.0') -makedepends=('git' 'cmake>=2.6.0') +depends=('boost' 'websocketpp' 'openssl-1.0') +makedepends=('git' 'cmake>=3.0.0') conflicts=('cpprestsdk' 'casablanca' 'casablanca-git') provides=('cpprestsdk') source=("git://github.com/Microsoft/cpprestsdk.git") @@ -29,6 +29,10 @@ build() { cmake ../cpprestsdk/Release \ -DBUILD_TESTS=OFF \ -DBUILD_SAMPLES=OFF \ + -DCPPREST_EXPORT_DIR=lib/cmake/cpprestsdk \ + -DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0 \ + -DOPENSSL_SSL_LIBRARY=/usr/lib/openssl-1.0/libssl.so \ + -DOPENSSL_CRYPTO_LIBRARY=/usr/lib/openssl-1.0/libcrypto.so \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make @@ -37,6 +41,6 @@ build() { package() { make -C build DESTDIR="${pkgdir}" install cd cpprestsdk - install -Dm644 license.txt ${pkgdir}/usr/share/licenses/cpprestsdk/LICENSE - install -Dm644 ThirdPartyNotices.txt ${pkgdir}/usr/share/licenses/cpprestsdk/ThirdPartyNotices + install -Dm644 license.txt ${pkgdir}/usr/share/licenses/cpprestsdk-git/LICENSE + install -Dm644 ThirdPartyNotices.txt ${pkgdir}/usr/share/licenses/cpprestsdk-git/ThirdPartyNotices } |