From b915a21821423232052e2e48ea14f288b3098c32 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 5 Sep 2012 00:02:31 +0000 Subject: Wed Sep 5 00:02:30 UTC 2012 --- community/redis/PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'community/redis/PKGBUILD') diff --git a/community/redis/PKGBUILD b/community/redis/PKGBUILD index 4331065b7..16ead1ff8 100644 --- a/community/redis/PKGBUILD +++ b/community/redis/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 74818 2012-08-06 08:52:13Z spupykin $ +# $Id: PKGBUILD 75852 2012-09-03 15:18:26Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Jan-Erik Rediger # Contributor: nofxx .com> pkgname=redis -pkgver=2.4.16 +pkgver=2.4.17 pkgrel=1 pkgdesc="Advanced key-value store" arch=('i686' 'x86_64') @@ -17,9 +17,11 @@ backup=("etc/redis.conf" "etc/logrotate.d/redis") source=("http://redis.googlecode.com/files/${pkgname}-${pkgver}.tar.gz" "redis.d" + "redis.service" "redis.logrotate") -md5sums=('6b3fffc8c58ebc0849a1046695d4556b' +md5sums=('f921ce282fb1780cb4a5646e242dadea' '4f2c02b481283d1336508c988e60e8d8' + '5ab9fdb200e15c13b450fda77fa030b6' '9e2d75b7a9dc421122d673fe520ef17f') build() { @@ -34,6 +36,7 @@ package() { install -D -m755 "$srcdir/${pkgname}-${pkgver}/COPYING" "$pkgdir/usr/share/licenses/redis/COPYING" install -D -m755 "$srcdir/redis.d" "$pkgdir/etc/rc.d/redis" + install -Dm644 "$srcdir"/redis.service "$pkgdir"/usr/lib/systemd/system/redis.service install -Dm644 "$srcdir/redis.logrotate" "$pkgdir/etc/logrotate.d/redis" sed -i 's|daemonize no|daemonize yes|;s|dir \./|dir /var/lib/redis/|;s|logfile stdout|logfile /var/log/redis.log| ' $srcdir/${pkgname}-${pkgver}/redis.conf install -D -m644 "$srcdir/${pkgname}-${pkgver}/redis.conf" "$pkgdir/etc/redis.conf" -- cgit v1.2.3-54-g00ecf