diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-08-17 12:10:05 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-08-17 12:10:05 +0200 |
commit | f5960fe27a2d814eab2ac7efacd714322c18a7b7 (patch) | |
tree | 4961d39c9af71f05b5b6ba9f4a23c47963193d37 /community/redis/PKGBUILD | |
parent | 1d26d40c2055019b7eb001251919aa73baae0029 (diff) | |
parent | 74952c750361d72d7b2d14179d4e88b6ce0a0c7e (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/bsdiff/PKGBUILD
community/drivel/PKGBUILD
community/dvdbackup/PKGBUILD
community/gdlmm/PKGBUILD
community/gnome-phone-manager/PKGBUILD
community/highlight/PKGBUILD
community/i3-wm/PKGBUILD
community/linux-tools/PKGBUILD
community/obconf/PKGBUILD
community/perl-class-factory-util/PKGBUILD
community/python-mpi4py/PKGBUILD
community/qupzilla/PKGBUILD
community/subtitleeditor/PKGBUILD
community/synce-librapi/PKGBUILD
community/synce-libsynce/PKGBUILD
community/tilda/PKGBUILD
core/glibc/PKGBUILD
core/iputils/PKGBUILD
extra/alsa-tools/PKGBUILD
extra/calligra/PKGBUILD
extra/imagemagick/PKGBUILD
extra/kobodeluxe/PKGBUILD
extra/libburn/PKGBUILD
extra/libisoburn/PKGBUILD
extra/libisofs/PKGBUILD
extra/libsamplerate/PKGBUILD
extra/mariadb/PKGBUILD
extra/maxima/PKGBUILD
extra/nasm/PKGBUILD
extra/perl-netaddr-ip/PKGBUILD
extra/perl-template-toolkit/PKGBUILD
extra/putty/PKGBUILD
extra/samba/PKGBUILD
extra/tk/PKGBUILD
extra/vim/PKGBUILD
extra/xorg-xprop/PKGBUILD
extra/xorg-xwd/PKGBUILD
pcr/ams/PKGBUILD
pcr/clalsadrv/PKGBUILD
Diffstat (limited to 'community/redis/PKGBUILD')
-rw-r--r-- | community/redis/PKGBUILD | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/community/redis/PKGBUILD b/community/redis/PKGBUILD index 857b4610c..01b71f940 100644 --- a/community/redis/PKGBUILD +++ b/community/redis/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 92955 2013-06-20 12:43:06Z spupykin $ +# $Id: PKGBUILD 95069 2013-08-05 10:49:57Z 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.6.14 -pkgrel=1 +pkgrel=2 pkgdesc="Advanced key-value store" arch=('i686' 'x86_64' 'mips64el') url="http://redis.io/" @@ -14,17 +14,25 @@ depends=('bash') makedepends=('gcc>=3.1' 'make' 'pkgconfig') backup=("etc/redis.conf" "etc/logrotate.d/redis") +install=redis.install source=("http://redis.googlecode.com/files/${pkgname}-${pkgver}.tar.gz" "redis.service" - "redis.logrotate") + "redis.logrotate" + "redis.tmpfiles.d") md5sums=('02e0c06e953413017ff64862953e2756' - '5ab9fdb200e15c13b450fda77fa030b6' - '9e2d75b7a9dc421122d673fe520ef17f') + '5320aa6d0f31aadc1d6202ca40425aea' + '9e2d75b7a9dc421122d673fe520ef17f' + 'dd9ab8022b4d963b2e5899170dfff490') + +prepare() { + cd "$srcdir/${pkgname}-${pkgver}" + sed -i 's|# bind 127.0.0.1|bind 127.0.0.1|' redis.conf + sed -i 's|pidfile .*|pidfile /run/redis/redis.pid|' redis.conf +} build() { cd "$srcdir/${pkgname}-${pkgver}" make MALLOC=libc - sed -i 's|# bind 127.0.0.1|bind 127.0.0.1|' redis.conf } package() { @@ -37,4 +45,5 @@ package() { 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 -Dm644 "$srcdir/redis.tmpfiles.d" "$pkgdir/usr/lib/tmpfiles.d/redis.conf" } |