aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/lua-turboredis/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/lua-turboredis/APKBUILD b/testing/lua-turboredis/APKBUILD
new file mode 100644
index 0000000000..6779aa1c93
--- /dev/null
+++ b/testing/lua-turboredis/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=lua-turboredis
+pkgver=0.1
+pkgrel=0
+pkgdesc="Redis library for Turbo"
+url="http://enotodden.github.io/turboredis/"
+arch="noarch"
+license="MIT"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="https://raw.githubusercontent.com/enotodden/turboredis/5cc67d689cb4004d1be5f0ca9fbd7e103e0f09ef/turboredis.lua"
+
+_builddir="$srcdir"
+
+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"
+}
+
+package() {
+ cd "$_builddir"
+ install -Dm644 "$srcdir"/turboredis.lua \
+ "$pkgdir"/usr/share/lua/5.1/turboredis.lua || return 1
+}
+md5sums="9e6b9be04538b555c72de5fdd9b2fa65 turboredis.lua"
+sha256sums="ae736e6fd426885679280ca7a3f9c914c85cda11b41c4b4483a1e8acfc676820 turboredis.lua"
+sha512sums="c18ff8df83acc85e412445a2940c444e6d6f3eb719c46b00e250a190c979b7c7ab8cf725cd0189d1cc5a4fc1d25c34af036208bb93658c0737bf5f7bce0398c3 turboredis.lua"