summaryrefslogtreecommitdiff
path: root/pcr/hiredis/PKGBUILD
blob: 29762e87efaaa78514c20301a5ab7ca7f333cbd8 (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
# Maintainer: Vladimir Tsanev <tsachev@gmail.com>

pkgname=hiredis
pkgver=0.11.0
pkgrel=1
pkgdesc='minimalistic C client library for Redis'
arch=('x86_64' 'i686')
url="https://github.com/redis/hiredis/"
license=('BSD')
depends=('glibc')
changelog='ChangeLog'
source=(https://codeload.github.com/redis/${pkgname}/tar.gz/v${pkgver})
md5sums=('e2ac29509823ccc96990b6fe765b5d46')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make 
}

#
#check() {
#  cd "${srcdir}/${pkgname}-${pkgver}"
#  make test check c
#}

package() {
  
  cd "${srcdir}/${pkgname}-${pkgver}"
  make PREFIX="$pkgdir/usr" clean dep install

  install -Dm 644 COPYING "$pkgdir/usr/share/licenses/${pkgname}/COPYING"

}