diff --git a/srcpkgs/redis/template b/srcpkgs/redis/template index 31b830e8c11..657cf4fa2da 100644 --- a/srcpkgs/redis/template +++ b/srcpkgs/redis/template @@ -1,18 +1,19 @@ # Template file for 'redis' pkgname=redis -version=4.0.9 +version=4.0.10 revision=1 makedepends="jemalloc-devel libatomic-devel" checkdepends="tcl-devel" -homepage="https://redis.io" -distfiles="http://download.redis.io/releases/${pkgname}-${version}.tar.gz" short_desc="Advanced key-value store" maintainer="Enno Boland " license="BSD-3-Clause" -checksum=df4f73bc318e2f9ffb2d169a922dec57ec7c73dd07bccf875695dbeecd5ec510 +homepage="https://redis.io" +#changelog="https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES" +distfiles="http://download.redis.io/releases/${pkgname}-${version}.tar.gz" +checksum=1db67435a704f8d18aec9b9637b373c34aa233d65b6e174bdac4c1b161f38ca4 system_accounts="redis" -redis_homedir="/var/lib/redis" +redis_homedir=/var/lib/redis conf_files="/etc/redis/redis.conf" do_configure() { @@ -22,6 +23,7 @@ do_configure() { -e "s|^pidfile .*|pidfile /run/redis/redis.pid|" redis.conf sed -i -e "s|^FINAL_LIBS=.*|& -latomic|" src/Makefile } + do_build() { case "$XBPS_TARGET_MACHINE" in *-musl) _malloc="none";; @@ -29,9 +31,11 @@ do_build() { esac make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" V=1 MALLOC=${_malloc} ${makejobs} } + do_check() { make test } + do_install() { make INSTALL_BIN=${DESTDIR}/usr/bin PREFIX=/usr install vlicense COPYING