diff options
author | Diab Neiroukh | 2021-09-11 12:10:34 +0100 |
---|---|---|
committer | Diab Neiroukh | 2021-09-11 12:39:32 +0100 |
commit | 6c6fcf7d15d13e315dd4721b63259609af7f75fa (patch) | |
tree | b72592bd4cdd9bf317669c44cec708bae2e45235 /PKGBUILD | |
parent | 60f92b89a4ff58ccf7e2bf7238256655c8eec760 (diff) | |
download | aur-6c6fcf7d15d13e315dd4721b63259609af7f75fa.tar.gz |
PKGBUILD: Bump the package version
Signed-off-by: Diab Neiroukh <lazerl0rd@thezest.dev>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 25 insertions, 9 deletions
@@ -1,17 +1,35 @@ # Maintainer: Diab Neiroukh <lazerl0rd at thezest dot dev> pkgname="keydb" -pkgver="6.0.16" -pkgrel=3 -arch=("i686" "x86_64") +pkgver="6.2.0" +pkgrel=4 +arch=("aarch64" "i686" "x86_64") pkgdesc="A Multithreaded fork of Redis." url="https://keydb.dev" license=("BSD") depends=( - "jemalloc" "libatomic_ops" "numactl" ) +if [ "$USE_TCMALLOC" = "yes" ]; then + depends+=("gperftools") + mallocprov="tcmalloc" +elif [ "$USE_TCMALLOC_MINIMAL" = "yes" ]; then + depends+=("gperftools") + mallocprov="tcmalloc_minimal" +elif [ "$USE_JEMALLOC" = "yes" ]; then + depends+=("jemalloc") + mallocprov="jemalloc" +elif [ "$USE_JEMALLOC" = "no" ]; then + # Glibc's malloc() is used in this case. + mallocprov="libc" +# This env variable isn't "checked" by KeyDB but we add it in for completion's sake. +elif [ "$USE_MEMKIND" = "yes" ]; then + mallocprov="memkind" +else + depends+=("jemalloc") + mallocprov="jemalloc" +fi makedepends=( "curl" "git" @@ -53,17 +71,15 @@ prepare() build() { export LDFLAGS="$LDFLAGS -latomic" - make BUILD_TLS="yes" MALLOC="jemalloc" -C "KeyDB-$pkgver" + make BUILD_TLS="yes" MALLOC="$mallocprov" -C "KeyDB-$pkgver" } -# TODO: Fix the tests in makepkg's environment. -""" check() { cd "KeyDB-$pkgver" - make test + # TODO: Allow tests to run successfully in Makepkg's fakeroot environment. + # make test } -""" package() { |