aboutsummaryrefslogblamecommitdiffstats
path: root/community/lua-turboredis/APKBUILD
blob: 1d2f1c47d86bd4d1ad968814d59a92e1e1ebffe8 (plain) (tree)
1
2
                                                     
                                                    





































                                                                                                                                                             
# 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"