blob: ccbc6508eedc01adb7fc58f59d7ed0ff74bd93cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=hiredis-git
pkgver=1.1.0.r10.g04c1b5b
pkgrel=1
pkgdesc="Minimalistic C client library for Redis"
arch=('i686' 'x86_64')
url="https://github.com/redis/hiredis/"
license=('BSD')
depends=('glibc')
makedepends=('git')
checkdepends=('redis')
provides=("hiredis=$pkgver")
conflicts=('hiredis')
options=('staticlibs')
source=("git+https://github.com/redis/hiredis.git")
sha256sums=('SKIP')
pkgver() {
cd "hiredis"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "hiredis"
make PREFIX="/usr"
}
check() {
cd "hiredis"
make check
}
package() {
cd "hiredis"
make DESTDIR="$pkgdir" PREFIX="/usr" install
install -Dm644 "COPYING" -t "$pkgdir/usr/share/licenses/hiredis"
}
|