updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / libaws / PKGBUILD
blobd452e9ce8daecc7cea079252842fe2a02e4fb1d6
1 # Maintainer: Kasper Laudrup <laudrup@stacktrace.dk>
2 pkgname=libaws
3 pkgver=0.9.2
4 pkgrel=1
5 pkgdesc="An Amazon Web Services C++ Library"
6 arch=(i686 x86_64)
7 url="http://aws.28msec.com/"
8 license=('Apache')
9 groups=()
10 depends=(curl openssl libxml2)
11 makedepends=(cmake)
12 optdepends=(fuse)
13 source=($pkgname-$pkgver.tar.gz libaws-0.9.2.patch)
14 noextract=()
15 md5sums=('0c425a236089fdd9f20008eb778f02c7'
16          '2e06f8aa3fe217338695302b3fa30553')
18 build() {
19   cd "${srcdir}/${pkgname}-${pkgver}"
20   patch -Np1 -i ../${pkgname}-${pkgver}.patch
21   mkdir build
22   cd build
23   cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release
24   make
27 package() {
28   cd "$srcdir/$pkgname-$pkgver/build"
29   make DESTDIR="$pkgdir/" install