blob: cbb62cc8abd2f5d4928fed0de6561859dbeb4ef9 (
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
|
# Maintainer: Oleksandr Natalenko <oleksandr@natalenko.name>
pkgname=xglfs
pkgver=0.0.1
pkgrel=1
pkgdesc="GlusterFS API FUSE client"
arch=('x86_64')
url="https://github.com/gluster/${pkgname}"
license=('GPL3')
depends=('acl' 'attr' 'fuse' 'glibc' 'glusterfs' 'libutil-linux' 'openssl' 'zlib')
optdepends=('gperftools: faster memory allocation with tcmalloc')
makedepends=('git' 'gcc' 'cmake' 'make' 'fuse' 'glusterfs')
source=("${pkgname}-git::git+https://github.com/gluster/${pkgname}.git")
sha256sums=("SKIP")
build() {
cd "${srcdir}/${pkgname}-git"
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${pkgdir}/usr ..
make -j$(nproc)
}
package() {
cd "${srcdir}/${pkgname}-git/build"
make install
}
|