aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-07-09 14:27:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-09 14:27:15 +0000
commit1b978f18e77278a2cca84e102fb883f9f610af1a (patch)
tree7b131715bf8f9a838ce1c313bce635db77c12209 /testing
parent2071623ebaa60880b38e9abf7fc1ffa431b7087a (diff)
downloadaports-1b978f18e77278a2cca84e102fb883f9f610af1a.tar.bz2
aports-1b978f18e77278a2cca84e102fb883f9f610af1a.tar.xz
testing/lua5.2-microlight: new aport
a really compact set of general Lua functions http://stevedonovan.github.com/microlight/
Diffstat (limited to 'testing')
-rw-r--r--testing/lua5.2-microlight/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/lua5.2-microlight/APKBUILD b/testing/lua5.2-microlight/APKBUILD
new file mode 100644
index 0000000000..c7c791c65d
--- /dev/null
+++ b/testing/lua5.2-microlight/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_luaver=5.2
+pkgname=lua$_luaver-microlight
+pkgver=1.1.1
+pkgrel=0
+pkgdesc="a really compact set of general Lua functions"
+url="http://stevedonovan.github.com/microlight/"
+arch="noarch"
+license="MIT"
+depends="lua"
+makedepends=""
+install=""
+subpackages=""
+source="lua-microlight-$pkgver.tar.gz::https://github.com/stevedonovan/Microlight/archive/$pkgver.tar.gz"
+
+_builddir="$srcdir"/Microlight-$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() {
+ cd "$_builddir"
+}
+
+package() {
+ cd "$_builddir"
+ install -Dm644 "$_builddir"/ml.lua \
+ "$pkgdir"/usr/share/lua/$_luaver/ml.lua
+}
+
+md5sums="cb6eacf4a8a0856548d4d6849fdb96f5 lua-microlight-1.1.1.tar.gz"
+sha256sums="c713689c9d477971b494307308c4ea4a877b2994078b7603ba5767c8a4843113 lua-microlight-1.1.1.tar.gz"
+sha512sums="debffab0c599754cb70852e82b2cb76af16dcefa7c1c4c54be1a0949d3f24312a72c9e9accd512a2f7d230259b7b7d18bc5919dbaff5458953236f9752582a45 lua-microlight-1.1.1.tar.gz"