updated on Sat Jan 14 16:01:55 UTC 2012
[aur-mirror.git] / credis / PKGBUILD
blob8bc98b8faf233c6d2cfe6ac77cdc147134cddb61
1 # Maintainer: Hilton Medeiros <medeiros.hilton@gmail.com>
3 pkgname=credis
4 pkgver=0.2.3
5 pkgrel=1
6 pkgdesc="A client library in plain C for communicating with Redis servers."
7 arch=('i686' 'x86_64')
8 url="http://credis.googlecode.com/"
9 license=('BSD')
10 depends=('glibc')
11 source=(http://credis.googlecode.com/files/$pkgname-$pkgver.tar.gz)
12 md5sums=('338c21667ece272d9ab669738e27b191')
14 build() {
15   cd "$srcdir/$pkgname-$pkgver"
17   make
20 package() {
21   cd "$srcdir/$pkgname-$pkgver"
23   install -d "$pkgdir"/usr/{lib,include}
24   install -m755 libcredis.so "$pkgdir/usr/lib"
25   install -m644 libcredis.a "$pkgdir/usr/lib"
26   install -m644 *.h "$pkgdir/usr/include"