diff options
author | Michael Yang | 2016-06-10 22:37:02 +0800 |
---|---|---|
committer | Michael Yang | 2016-06-10 22:37:02 +0800 |
commit | f4ae498248a6bab9ad68d72a1d3069b59ae08c16 (patch) | |
tree | 37f759668c08935fcc1c42bc640bd109d9eae126 | |
parent | 1c9fa5edd61fd8329bc6a461886c2dd0c0ba8064 (diff) | |
download | aur-f4ae498248a6bab9ad68d72a1d3069b59ae08c16.tar.gz |
Update
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 10 insertions, 9 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Wed Apr 6 14:06:17 UTC 2016 +# Fri Jun 10 14:36:40 UTC 2016 pkgbase = cpprestsdk pkgdesc = a cross-platform, modern, and asynchronous library that enables developers to access and author connected applications pkgver = 2.8.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/Microsoft/cpprestsdk/ arch = i686 arch = x86_64 @@ -1,7 +1,8 @@ # Maintainer: Michael Yang <ohmyarchlinux@gmail.com> + pkgname=cpprestsdk pkgver=2.8.0 -pkgrel=1 +pkgrel=2 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/" @@ -9,7 +10,7 @@ license=('Apache') depends=('boost' 'websocketpp' 'openssl>=1.0.0') makedepends=('cmake>=2.6.0') conflicts=('casablanca' 'casablanca-git') -source=("$pkgname-$pkgver.tar.gz::https://github.com/Microsoft/cpprestsdk/archive/v$pkgver.tar.gz") +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Microsoft/cpprestsdk/archive/v${pkgver}.tar.gz") sha512sums=('ee104199511da130136ef4ebbb4cf46b6199d841e8883069c5d9c05dc54b1221bf9fdc99e9067af082ce43c98213c3f92aee6e544eafe8815244f115aeb058d2') prepare() { @@ -18,7 +19,7 @@ prepare() { build() { cd build - cmake ../$pkgname-$pkgver/Release \ + cmake ../${pkgname}-${pkgver}/Release \ -DBUILD_TESTS=OFF \ -DBUILD_SAMPLES=OFF \ -DCMAKE_BUILD_TYPE=Release \ @@ -27,8 +28,8 @@ build() { } package() { - make -C build DESTDIR="$pkgdir/" install - cd $pkgname-$pkgver - install -Dm644 license.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE - install -Dm644 ThirdPartyNotices.txt $pkgdir/usr/share/licenses/$pkgname/ThirdPartyNotices + make -C build DESTDIR="${pkgdir}" install + cd ${pkgname}-${pkgver} + install -Dm644 license.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + install -Dm644 ThirdPartyNotices.txt ${pkgdir}/usr/share/licenses/${pkgname}/ThirdPartyNotices } |