blob: ec7835ffbe031bca7f567c6cca5d5a7790ebf91d (
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
|
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=hiredis
pkgver=0.13.1
pkgrel=0
pkgdesc="Minimalistic C client library for Redis"
url="https://github.com/redis/hiredis"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make DEBUG=
}
package() {
cd "$_builddir"
make PREFIX="$pkgdir"/usr install
}
md5sums="4226dda52dbe08304e3b6027b4d6c74d hiredis-0.13.1.tar.gz"
sha256sums="8865105e15331156a74b64aafbfd3f8c784a8375e003a55512dcca3d82168487 hiredis-0.13.1.tar.gz"
sha512sums="70b533a6cfbc3ce2b64018978e4f4460ca9a204ede92b571638ed4f04960199be0704cff16fcaf368e5c997a01e3b2da98e3c556c2f05c8316381f989684fcf1 hiredis-0.13.1.tar.gz"
|