blob: 770d9c92db07c51a51f185d9b26adff803ed99d4 (
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
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=libcloudstorage
pkgver=1.2
pkgrel=2
pkgdesc="C++ library providing access to files located in various cloud services"
arch=('i686' 'x86_64')
url="https://code.videolan.org/videolan/libcloudstorage"
license=('LGPL')
depends=('crypto++' 'curl' 'fuse3' 'jsoncpp' 'libmicrohttpd' 'mega-sdk' 'tinyxml2')
source=("https://code.videolan.org/videolan/libcloudstorage/-/archive/$pkgver/libcloudstorage-$pkgver.tar.gz"
"0001-Fix-compilation-with-newer-crypto.patch")
sha256sums=('be13e0ff24963f810e41640298663c4ed1e77a842200d6d8b7b09b3b18e070e8'
'a12406b7e429fa6fa7ed60f85a4a7bb936664890886003b3a86f462b007af373')
prepare() {
cd "$pkgname-$pkgver"
patch -Np1 -i "$srcdir/0001-Fix-compilation-with-newer-crypto.patch"
}
build() {
cd "$pkgname-$pkgver"
./bootstrap
./configure \
--prefix="/usr"
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
|