blob: 87515836c56ae7dc7a377e14cf5a3cca8c3ad793 (
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
51
52
53
54
55
|
# Maintainer: Eric Pfeiffer <aur@computerfr33k.com>
pkgname=librevault
pkgver=0.1.19
pkgrel=3
pkgdesc="File synchronization designed with privacy in mind"
arch=(x86_64 i686)
url="https://librevault.com/"
license=('GPL3')
groups=()
makedepends=('git' 'cmake' 'boost' 'qt5-tools')
depends=(
'qt5-websockets' 'qt5-svg' 'protobuf>=3.0.2-2'
'crypto++' 'miniupnpc' 'websocketpp' 'qt5-base'
'openssl' 'libnatpmp' 'sqlite' 'boost-libs'
)
conflicts=("$pkgname-git")
replaces=()
backup=()
options=()
install=
source=(
"librevault::git+https://github.com/Librevault/librevault.git#tag=v$pkgver"
"0001-Fixed-90.-Thanks-mikken.patch"
)
noextract=()
sha256sums=('SKIP'
'0d0d1724ce71317656b652d9eb2fd821a5a781cdd1f4bf4a063012e96830aeb8')
prepare() {
mkdir -p build
cd "$srcdir/librevault"
# Apply Fix for ICU lib
patch -p1 -i ../0001-Fixed-90.-Thanks-mikken.patch
# Configure Submodules
git submodule update --init
}
build() {
cd build
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_UPDATER=OFF \
"$srcdir/librevault"
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}
|