diff options
author | Riccardo Berto | 2018-05-08 15:48:27 +0200 |
---|---|---|
committer | Riccardo Berto | 2018-05-08 15:48:27 +0200 |
commit | 1c4f7fa0592cadb9a7d775950c05fe8618c51b07 (patch) | |
tree | 284424cf86c8e77e9539ce9b06b332852d096bc7 /PKGBUILD | |
download | aur-1c4f7fa0592cadb9a7d775950c05fe8618c51b07.tar.gz |
First Commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a38188bca2e3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Riccardo Berto <riccardobrt at gmail dot com> + +_pkgname=redis-graph +pkgname=$_pkgname-git +pkgver=r215.9db0b8c +pkgrel=1 +pkgdesc="This project is a Redis module that implements a graph database." +arch=('i686' 'x86_64') +url="https://github.com/swilly22/$_pkgname" +license=('AGPL-3.0') +depends=('redis') +makedepends=('git') +source=("git+$url") +install=$pkgname.install +sha256sums=("SKIP") + +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 +} |