blob: 0786392788415589bee254c1213444c10f539c7f (
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: Riccardo Berto <riccardobrt at gmail dot com>
_pkgname=redis-graph
pkgname=redis-graph-git
pkgver=r440.bef38f73
pkgrel=1
pkgdesc="This project is a Redis module that implements a graph database."
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
url="https://github.com/RedisLabsModules/$_pkgname"
license=('AGPL-3.0')
depends=('redis' 'cmake')
makedepends=('git' 'peg')
conflicts=('redis-graph')
source=("git+$url")
install=$pkgname.install
sha256sums=("SKIP")
prepare() {
cd "$_pkgname"
git submodule update --init --recursive
}
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $_pkgname/
make $MAKEFLAGS
}
package() {
cd $_pkgname
install -D src/redisgraph.so $pkgdir/usr/lib/redis/redisgraph.so
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$_pkgname/LICENSE
}
|