blob: ba6c2b4d1316605f4356e6d940cc8eb8da2e26de (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: a821 at (nospam) mail de
# Contributor: Konstantin Gizdov <kgizdov at archlinux dot org>
# Contributor: Marcin Wieczorek <marcin@marcin.co>
# Contributor: Adam Ehlers Nyholm Thomsen<adament@adament.net>
# Contributor: Maxwell Pray a.k.a. Synthead <synthead@gmail.com>
pkgname=davix-git
pkgver=0.8.9.r0.gf5a141a6
pkgrel=1
pkgdesc="Client for data and file management over the WebDav, Amazon S3, Microsoft Azure and HTTP procols"
arch=('x86_64')
url="https://github.com/cern-fts/davix"
license=('LGPL-2.1-or-later')
depends=('libxml2' 'openssl' 'util-linux-libs' )
makedepends=('doxygen' 'boost' 'cmake' 'git' 'python' 'gtest')
source=("${pkgname}::git+${url}.git"
"git+https://github.com/curl/curl.git")
sha256sums=('SKIP'
'SKIP')
pkgver() {
cd $pkgname
git describe --long | sed 's/^R_//;s/-/.r/;s/[_-]/./g'
}
prepare() {
cd $pkgname
git submodule init
git config submodule."deps/curl".url "$srcdir/curl"
git -c protocol.file.allow=always submodule update
}
build() {
cmake -B build -S $pkgname \
-DLIB_SUFFIX="" \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_BUILD_TYPE=Release \
-Wno-dev
cmake --build build
}
check() {
make -C build test
}
package() {
make -C build DESTDIR="$pkgdir" install
}
# vim: set ts=2 sw=2 et:
|