summaryrefslogtreecommitdiff
path: root/pcr/hiredis
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/hiredis')
-rw-r--r--pcr/hiredis/ChangeLog4
-rw-r--r--pcr/hiredis/PKGBUILD33
2 files changed, 37 insertions, 0 deletions
diff --git a/pcr/hiredis/ChangeLog b/pcr/hiredis/ChangeLog
new file mode 100644
index 000000000..fbe55643a
--- /dev/null
+++ b/pcr/hiredis/ChangeLog
@@ -0,0 +1,4 @@
+2013-06-07 Vladimir Tsanev <tsachev@gamil.com>
+
+ * 0.11.0-1 :
+ Initial PKGBUILD.
diff --git a/pcr/hiredis/PKGBUILD b/pcr/hiredis/PKGBUILD
new file mode 100644
index 000000000..29762e87e
--- /dev/null
+++ b/pcr/hiredis/PKGBUILD
@@ -0,0 +1,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"
+
+}