diff options
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | redis-graph-git.install | 4 |
3 files changed, 9 insertions, 3 deletions
@@ -10,6 +10,7 @@ pkgbase = redis-graph-git arch = armv7h license = AGPL-3.0 makedepends = git + makedepends = peg depends = redis depends = cmake conflicts = redis-graph @@ -9,12 +9,17 @@ arch=('i686' 'x86_64' 'aarch64' 'armv7h') url="https://github.com/RedisLabsModules/$_pkgname" license=('AGPL-3.0') depends=('redis' 'cmake') -makedepends=('git') +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)" diff --git a/redis-graph-git.install b/redis-graph-git.install index 88d52286ccdf..194022469c53 100644 --- a/redis-graph-git.install +++ b/redis-graph-git.install @@ -1,7 +1,7 @@ post_install() { - printf "\nDon't forget to update your redis config file and restart Redis.\n\n" + printf "\nDon't forget to update your redis config file and restart Redis.\n\n" } post_remove() { - post_install + post_install } |