diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-11-13 10:52:54 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-11-13 10:53:01 +0100 |
commit | d980ef39492e22a8cbc2439658afe70f30d258ee (patch) | |
tree | a27a2eef7a5388a7b91528abb4029550f06b49cf /community | |
parent | acff68bbf3774b06f86da505b79b959c542e91d1 (diff) | |
download | aports-d980ef39492e22a8cbc2439658afe70f30d258ee.tar.bz2 aports-d980ef39492e22a8cbc2439658afe70f30d258ee.tar.xz |
community/lua-turboredis: moved from testing
Diffstat (limited to 'community')
-rw-r--r-- | community/lua-turboredis/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/community/lua-turboredis/APKBUILD b/community/lua-turboredis/APKBUILD new file mode 100644 index 0000000000..1d2f1c47d8 --- /dev/null +++ b/community/lua-turboredis/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Carlo Landmeter <clandmeter@gmail.com> +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" |