blob: 49fc5a4dc7f891625b1ddcd27ca37a7b40ef511c (
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
|
# Maintainer: Marcin Wieczorek <marcin@marcin.co>
# Contributor: Adam Ehlers Nyholm Thomsen<adament@adament.net>
pkgname=davix
pkgver=0.6.4
_pkgver="R_${pkgver//./_}"
pkgrel=1
pkgdesc="A client for data and file management over the WebDav, Amazon S3, Microsoft Azure and HTTP protocols."
arch=('i686' 'x86_64')
url="https://dmc.web.cern.ch/projects/davix/home"
license=('LGPL2.1')
depends=('openssl' 'libxml2' 'boost-libs')
makedepends=('doxygen' 'boost' 'cmake')
checkdepends=('gtest')
optdepends=()
conflicts=(davix-git)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/cern-it-sdc-id/${pkgname}/archive/${_pkgver}.tar.gz")
sha256sums=('9e5a35796e8129438e0caee95bd54146162f8336c5a7cdf5e257aa48de6d03fa')
build() {
cd "${pkgname}-${_pkgver}"
cmake -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_BUILD_TYPE=Release .
make
make doc
}
#check() {
# cd "$pkgname-$_pkgver"
# cmake . -DUNIT_TESTS=TRUE
# make
# make test
#}
package() {
cd "${pkgname}-${_pkgver}"
make DESTDIR="${pkgdir}/" install
}
|