summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 421f400f320a23ed9e1105142a9ecd33bfdd8c90 (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
# Maintainer: Riccardo Berto <riccardobrt at gmail dot com>

pkgname=redis-graph
pkgver=1.0.15
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')
conflicts=('redis-graph-git')
source=("$url/archive/v1.0.15.tar.gz")
install=$pkgname.install
sha256sums=("SKIP")

build() {
	cd RedisGraph-$pkgver
	make $MAKEFLAGS
}

package() {
	cd RedisGraph-$pkgver
        install -D src/redisgraph.so $pkgdir/usr/lib/redis/redisgraph.so
        install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}