diff options
author | root <root@rshg054.dnsready.net> | 2012-10-24 01:50:39 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-24 01:50:39 -0700 |
commit | 120df4e0db159525806a9b33364483e76f9d51d3 (patch) | |
tree | b78de64b601a46cc403d8663201bad6feb41c791 /community/redis | |
parent | 3c19af9355ba86a5b99d6e5a57ecaa68a7ea6e8e (diff) |
Wed Oct 24 01:47:51 PDT 2012
Diffstat (limited to 'community/redis')
-rw-r--r-- | community/redis/PKGBUILD | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/community/redis/PKGBUILD b/community/redis/PKGBUILD index 03c783fff..7b94a0112 100644 --- a/community/redis/PKGBUILD +++ b/community/redis/PKGBUILD @@ -1,15 +1,14 @@ -# $Id: PKGBUILD 76882 2012-10-01 15:26:16Z spupykin $ +# $Id: PKGBUILD 78721 2012-10-23 08:36:04Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Jan-Erik Rediger <badboy at archlinux dot us> # Contributor: nofxx <x@<nick>.com> pkgname=redis -pkgver=2.4.17 -pkgrel=2 +pkgver=2.6.0 +pkgrel=1 pkgdesc="Advanced key-value store" arch=('i686' 'x86_64') url="http://redis.io/" -#url="http://code.google.com/p/redis" license=('BSD') depends=('bash') makedepends=('gcc>=3.1' 'make' 'pkgconfig') @@ -19,25 +18,25 @@ source=("http://redis.googlecode.com/files/${pkgname}-${pkgver}.tar.gz" "redis.d" "redis.service" "redis.logrotate") -md5sums=('f921ce282fb1780cb4a5646e242dadea' +md5sums=('92f224a0df37e0b777a2eb3f38a2f128' '8d843919d9f165e9a47e56cadb4ac2ed' '5ab9fdb200e15c13b450fda77fa030b6' '9e2d75b7a9dc421122d673fe520ef17f') build() { - cd "$srcdir/${pkgname}-${pkgver}" - CFLAGS="$CFLAGS -std=c99" make FORCE_LIBC_MALLOC=yes + cd "$srcdir/${pkgname}-${pkgver}" + make MALLOC=libc } package() { - cd "$srcdir/${pkgname}-${pkgver}" - mkdir -p $pkgdir/usr/bin - make INSTALL_BIN="$pkgdir/usr/bin" PREFIX=/usr install + cd "$srcdir/${pkgname}-${pkgver}" + mkdir -p $pkgdir/usr/bin + make INSTALL_BIN="$pkgdir/usr/bin" PREFIX=/usr install - 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" + 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" } |