From 696c10b8957b7ced1a3a20337346b95ea7cef52c Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Thu, 17 May 2012 07:18:47 +0000 Subject: testing/lua-tnetstrings: package added --- testing/lua-tnetstrings/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 testing/lua-tnetstrings/APKBUILD (limited to 'testing/lua-tnetstrings/APKBUILD') diff --git a/testing/lua-tnetstrings/APKBUILD b/testing/lua-tnetstrings/APKBUILD new file mode 100644 index 0000000000..efd5834bc1 --- /dev/null +++ b/testing/lua-tnetstrings/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Kaarle Ritvanen +# Maintainer: +pkgname=lua-tnetstrings +pkgver=1.1.0 +pkgrel=0 +pkgdesc="Tagged netstrings implementation for Lua" +url=https://github.com/jsimmons/tnetstrings.lua +arch=noarch +license=BSD +depends=lua +source=http://github.com/downloads/jsimmons/tnetstrings.lua/tnetstrings-$pkgver.tar.bz2 + +_builddir=$srcdir/tnetstrings-$pkgver +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() { + : +} + +package() { + cd "$_builddir" + local dir=$pkgdir/usr/share/lua/5.1 + install -d "$dir" + install -m 644 "$_builddir/tnetstrings.lua" "$dir" +} + +md5sums="7ff1f79d9711f9e1f307bc747d75a522 tnetstrings-1.1.0.tar.bz2" -- cgit v1.2.3